Questions on RadioListButtonList, Textbox, and ImageURL
-
How do you reset the value stored in a RadioListButtonList (I want to it back to the state that the user has choose nothing at all) I tried NameofRadioButtonList.SelectedValue = "", NameofRadioButtonList.SelectedValue = null, they both didn't work. And anyone know how is it possible to align the text in a multilined textbox? And I'd like to know how to enlarge a photo in a ImageURL control. For example, I have shrunk PhotoA displayed on my ImageURL control, and I want the user to be able to click on that and simply show the original size of the PhotoA. So basically all I need to do is to create a hyperlink linking to the name of the photo I am using in the ImageURL. Can it be done? Thanks and a wonderful new year!
-
How do you reset the value stored in a RadioListButtonList (I want to it back to the state that the user has choose nothing at all) I tried NameofRadioButtonList.SelectedValue = "", NameofRadioButtonList.SelectedValue = null, they both didn't work. And anyone know how is it possible to align the text in a multilined textbox? And I'd like to know how to enlarge a photo in a ImageURL control. For example, I have shrunk PhotoA displayed on my ImageURL control, and I want the user to be able to click on that and simply show the original size of the PhotoA. So basically all I need to do is to create a hyperlink linking to the name of the photo I am using in the ImageURL. Can it be done? Thanks and a wonderful new year!
Infernojericho wrote:
How do you reset the value stored in a RadioListButtonList (I want to it back to the state that the user has choose nothing at all) I tried NameofRadioButtonList.SelectedValue = "", NameofRadioButtonList.SelectedValue = null, they both didn't work.
Record the selection in the viewstate ViewState"{Selection1"] = bla bla;
Infernojericho wrote:
And anyone know how is it possible to align the text in a multilined textbox?
You cant. Use a RichText box instead and apply formatting. You will have to download. Theres several free one on the web.
Infernojericho wrote:
And I'd like to know how to enlarge a photo in a ImageURL control. For example, I have shrunk PhotoA displayed on my ImageURL control, and I want the user to be able to click on that and simply show the original size of the PhotoA. So basically all I need to do is to create a hyperlink linking to the name of the photo I am using in the ImageURL. Can it be done?
Change the width and height properties 1 line of code equals many bugs. So don't write any!!
-
Infernojericho wrote:
How do you reset the value stored in a RadioListButtonList (I want to it back to the state that the user has choose nothing at all) I tried NameofRadioButtonList.SelectedValue = "", NameofRadioButtonList.SelectedValue = null, they both didn't work.
Record the selection in the viewstate ViewState"{Selection1"] = bla bla;
Infernojericho wrote:
And anyone know how is it possible to align the text in a multilined textbox?
You cant. Use a RichText box instead and apply formatting. You will have to download. Theres several free one on the web.
Infernojericho wrote:
And I'd like to know how to enlarge a photo in a ImageURL control. For example, I have shrunk PhotoA displayed on my ImageURL control, and I want the user to be able to click on that and simply show the original size of the PhotoA. So basically all I need to do is to create a hyperlink linking to the name of the photo I am using in the ImageURL. Can it be done?
Change the width and height properties 1 line of code equals many bugs. So don't write any!!
Thanks for the reply, Ista, remember I asked you before on passing Session variables via the URL. I tried your suggestion of xxx.aspx?sessionvar=xxx but it didn't work. I have a adrotator, when the user clicks on the banner it should redirect them to another products page. Therefore the ID of the item must be passed via the URL to the products details page. However I keep getting an error in the products details page that the ID value is Null, which means the value was never passed. For example, I am trying to pass the session variable of "nbid" from Page A to B. This is what I have: http://localhost/EAIProject/catalog/viewnotebook.aspx?nbid=45 What am I missing? Is there anything else I have to do?
-
Thanks for the reply, Ista, remember I asked you before on passing Session variables via the URL. I tried your suggestion of xxx.aspx?sessionvar=xxx but it didn't work. I have a adrotator, when the user clicks on the banner it should redirect them to another products page. Therefore the ID of the item must be passed via the URL to the products details page. However I keep getting an error in the products details page that the ID value is Null, which means the value was never passed. For example, I am trying to pass the session variable of "nbid" from Page A to B. This is what I have: http://localhost/EAIProject/catalog/viewnotebook.aspx?nbid=45 What am I missing? Is there anything else I have to do?