More in this section

Forums / General Discussions / Page redirecting in widget

Page redirecting in widget

7 posts, 0 answered
  1. John
    John avatar
    97 posts
    Registered:
    11 Jan 2011
    15 Feb 2011
    Link to this post

    Hi

    How can I redirect to a SF page via code in the code behind of a widget?

    Thanks

    Regards

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Feb 2011
    Link to this post
    Hi John,

    Create a user control and inside its code behind you can use Response.Redirect.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. John
    John avatar
    97 posts
    Registered:
    11 Jan 2011
    15 Feb 2011
    Link to this post

    Hi Ivan

    Many thanks.

    Just to add to that, how can the widget on calling page pass a message to the redirected page and how the redirected page catches the messages and displays it?

    Thanks

    Regards

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Feb 2011
    Link to this post
    Hi John,

    You can use QueryString or Cookie to pass and read the data.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. John
    John avatar
    97 posts
    Registered:
    11 Jan 2011
    17 Feb 2011
    Link to this post

    Hi Ivan

    Thanks. How does the target SF page picks up the QueryString or Cookie? Do we need to add a widget to target SF page to accomplish this or is there another way?

    Thanks

    Regards

  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    17 Feb 2011
    Link to this post
    Hi John,

    You will need a custom logic to do this. These values will be passed when you make a request and then received by the other page.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
  7. Steve Jones
    Steve  Jones avatar
    8 posts
    Registered:
    07 Dec 2007
    01 Jun 2011
    Link to this post

7 posts, 0 answered