This is a migrated thread and some comments may be shown as answers.

WebMail in Telerik

3 Answers 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
S
Top achievements
Rank 1
S asked on 25 Sep 2012, 10:07 AM
Hai,

             I have designed Web Mail using Rad Grid.I have displayed Mails in Rad Grid.On Clicking the mail,I need to the redirect to the another page with the  id of the row as querystring.Can anyone pls tell me how to do it?

3 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 27 Sep 2012, 01:38 PM
Hello,

In order to redirect to another page, on the first page when you click the mail you have to pass the value with the url. As an example you could take a look at the following code.
private void btnSubmit_Click(object sender, System.EventArgs e)
{
    Response.Redirect("Webform2.aspx?ID=" + value1);
}

To retry the value on the second page use this code.
private void Page_Load(object sender, System.EventArgs e)
{
TextBox.Text = Request.QueryString["ID"];
}


Greetings,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
S
Top achievements
Rank 1
answered on 28 Sep 2012, 07:48 AM
Hai Kostadin

                  Thanks for u r rply. I think u didnt understand my question.I need to know how to get the id of the row on clicking the email in radgrid?Can u pls tell me in what event i have to write and what is the code to get the id of the row?If u reply as early as possible,it will be useful for me.
0
Kostadin
Telerik team
answered on 28 Sep 2012, 01:40 PM
Hello,

Check out this article where is described how to access cells and rows and let us know if you still cannot get the id afterwards.

Regards,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
S
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
S
Top achievements
Rank 1
Share this question
or