Hi all,
I have one problem in ASP.NET 2.0. (I'm a beginner in ASP.Net.)
I want to control radio checked_changed event using VBScript.
I already try this code in button click using script and its worked well but when I move to radio button, its not working.
anybody know the reason and why???? (And I don't want to use 'AutoPostBack = true' because it post back to server every time i click on it. so the page seems to refresh every time i click. i don't want it to reload or refresh or flash the screen. just like windows based app to let it works smooth.)
sorry to disturb you guys if my question is too simple.
Here is my script code:
And here is radio button code:Code:Protected Sub CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Me.TextBox1.Text = "Click on script" Me.TextBox1.Enabled = False End Sub
Please F1!!!Code:<asp:RadioButton ID="RadioButton1" runat="server" GroupName="a" Style="position: static" OnCheckedChanged="CheckedChanged" /> <asp:RadioButton ID="RadioButton2" runat="server" GroupName="a" Style="position: static" OnCheckedChanged="CheckedChanged"/>![]()
Thanks.




)
Reply With Quote