Dropdownlist
-
Hello, I have webpage1 that has a dropdown list contains Department list. When I click submit, in my second webpage, the dropdownlist must contain the names of the Department selected in the webpage1. Anybody can show me the simple code for this one. Thanks in advance.
-
Hello, I have webpage1 that has a dropdown list contains Department list. When I click submit, in my second webpage, the dropdownlist must contain the names of the Department selected in the webpage1. Anybody can show me the simple code for this one. Thanks in advance.
-
Hello, I have webpage1 that has a dropdown list contains Department list. When I click submit, in my second webpage, the dropdownlist must contain the names of the Department selected in the webpage1. Anybody can show me the simple code for this one. Thanks in advance.
Or... you can configure the PostBackUrl property of a ASP.NET Link Button. Then, within the other page code, you can access Page.PreviousPage. It'll give you access to the members of the previous page (the one that contains the link button), like the selected Item you want. I think this aproach is even better because it keeps your URL clean. :]
-
Or... you can configure the PostBackUrl property of a ASP.NET Link Button. Then, within the other page code, you can access Page.PreviousPage. It'll give you access to the members of the previous page (the one that contains the link button), like the selected Item you want. I think this aproach is even better because it keeps your URL clean. :]
-
hi... thank you so much. I really appreciate if you can show me some code for this. Thanks in advance.
try this: On page1 u send it as: Response.Redirect("frmUserMaster.aspx?id=" & cmbName.Items(cmbName.SelectedIndex).Value) on 2nd page u can get this value as: NameID = Request.Params("id") Hope this helps u..
-
Or... you can configure the PostBackUrl property of a ASP.NET Link Button. Then, within the other page code, you can access Page.PreviousPage. It'll give you access to the members of the previous page (the one that contains the link button), like the selected Item you want. I think this aproach is even better because it keeps your URL clean. :]
But it depends on the version .i.e Available in ASP.NET 2.0 only
Thanks and Regards Sandeep If you want something you never had, do something you have never done!