Anyname Donotcare
Anyname Donotcare

Reputation: 11393

available modal popup

Q:

I want to list the most used modal pop up in asp.net to select the convenient one to my case, i used Ajax modal pop up before but i don't like it,i want the modal pop either it was an extender or jquery or what ever allow me to access the .cs (server side)..

Thanks in advance

Upvotes: 0

Views: 308

Answers (2)

Shahin
Shahin

Reputation: 12843

You Can Execute every javascript/jQuery Code Serverside You could use the RegisterStartupScript method from the code behind:

public void SomeButton_Click(Object sender, EventArgs e)
{
    string script = "$('#someid').dialog('open');";
    ClientScript.RegisterStartupScript(GetType(), "popup", script, true);
}

you may use jQuery UI Dialog Or Colorbox and other available Plugins.

Upvotes: 1

santosh singh
santosh singh

Reputation: 28642

Jquery model dialog is best.You can easily integrate this with asp.net.

Check out the following link for how to integrate Jquery model dialog in asp.net

How to use jquery dialog in asp.net

Upvotes: 2

Related Questions