how to call one form from multiple link button

Posted by Mrutyunjay51 under ASP.NET on 5/26/2011 | Points: 10 | Views : 2046 | Status : [Member] | Replies : 3
suppose in one webform there are 3 linl button,i want, by clicking of 3 button ,one webform should open, but inside the webform contents are different.




Responses

Posted by: T.saravanan on: 5/27/2011 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Try this...
Add 3 'div' in your page and then add the controls inside the 'div' control.Assign the 'id' name and runat='server' in that div's.
Now goto the link button page, if we click first button means just show first div,hide the other two div's.

Note: Pass a paramater to div page using Query String (or) Session object.

Thanks,
T.Saravanan

Mrutyunjay51, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lakn2 on: 5/27/2011 [Member] Starter | Points: 25

Up
0
Down
TRY THIS
linkbutto1_click(...)
{
response.redirect("Default.aspx");
}
linkbutto2_click(...)
{
response.redirect("Default1.aspx");
}
linkbutto3_click(...)
{
response.redirect("Default2.aspx");
}

Thanks&Regards
LakshmiNarayana Nalluri.

Mrutyunjay51, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 5/27/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
HI Mrutyunjay51

it's possible.. try to div or table tag , . .. firstly add if condition then use which is button click it then Hide and show . . Tables or div's tag . . with ur control .

Best Regard's
Prabhakar

Mrutyunjay51, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response