M
manmit.walia
Hi,
I have a small question...Is there a way to do a postback to the same
page and pass a value to a function OnClick?
Example:
void GetCityName(string c)
{
string city = c;
}
Now I want to call this function by Doing a PostBack with a
asp:LinkButton.
So, here is the asp:LinkButton code.
<asp:LinkButton ID="mob" runat="server" Text="MOB"
OnClick="GetCityName('MOB')"></asp:LinkButton>
Can this be done?
Thanks
I have a small question...Is there a way to do a postback to the same
page and pass a value to a function OnClick?
Example:
void GetCityName(string c)
{
string city = c;
}
Now I want to call this function by Doing a PostBack with a
asp:LinkButton.
So, here is the asp:LinkButton code.
<asp:LinkButton ID="mob" runat="server" Text="MOB"
OnClick="GetCityName('MOB')"></asp:LinkButton>
Can this be done?
Thanks