Click here to Skip to main content
15,904,935 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionChecking e-mail Accounts Pin
inayat basha3-Jan-10 8:00
inayat basha3-Jan-10 8:00 
AnswerRe: Checking e-mail Accounts Pin
JimBob SquarePants3-Jan-10 9:21
JimBob SquarePants3-Jan-10 9:21 
GeneralRe: Checking e-mail Accounts Pin
saini arun3-Jan-10 18:33
saini arun3-Jan-10 18:33 
AnswerRe: Checking e-mail Accounts Pin
saini arun3-Jan-10 18:34
saini arun3-Jan-10 18:34 
AnswerRe: Checking e-mail Accounts Pin
coolestCoder3-Jan-10 20:48
coolestCoder3-Jan-10 20:48 
AnswerRe: Checking e-mail Accounts Pin
David Mujica4-Jan-10 3:23
David Mujica4-Jan-10 3:23 
AnswerRe: Checking e-mail Accounts Pin
April Fans4-Jan-10 16:27
April Fans4-Jan-10 16:27 
Questioncreating ajax from C# Pin
Hema Bairavan3-Jan-10 6:23
Hema Bairavan3-Jan-10 6:23 
Hi,

actually my requirement is that to create ajax modal pop up dialogue for dynamic controls.
i have already posted regarding the same. now i came with one thought that creating the ajax modal pop up extender from C#..

the aspx code is

<table>

<tr><td>
<asp:Button runat="server" ID="btntext" Text="test"
/>
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</ajaxToolkit:ToolkitScriptManager>
<ajaxToolkit:ModalPopupExtender ID="MPE" runat="server"
TargetControlID="btntext"
PopupControlID="panel"
BackgroundCssClass="modalBackground"
DropShadow="false"
OkControlID="Ok"

X="200"
Y="200"
CancelControlID="Cancel"
/>
</td></tr>
</table>

this s normal code to create ajax pop up.

and my C# code is( need to open when clicking an link button)

protected void Link_Click(object s, EventArgs e)
{
string str;
LinkButton lbl = s as LinkButton;
str = lbl.CommandName;

//ajax.ToolkitScriptManager ToolkitScriptManager1 = new AjaxControlToolkit.ToolkitScriptManager();

ajax.ModalPopupExtender MPE = new AjaxControlToolkit.ModalPopupExtender();

MPE.TargetControlID = "lbl";
MPE.PopupControlID = "panel";
MPE.BackgroundCssClass = "modalBackground";
MPE.DropShadow = false;
MPE.OkControlID = "Ok";
MPE.X = 200;
MPE.Y = 200;
MPE.CancelControlID = "Cancel";



}

am i going n the correct way?
but its not working though.
y because in aspx if u give the target control id for pop up it wont be visible in the page , when you click it will come.
but here its not possible..

can any one help me how to create modal pop up for dynanic??
or is there anything other than ajax..??

help me
thanks in advance
AnswerRe: creating ajax from C# Pin
N a v a n e e t h3-Jan-10 6:40
N a v a n e e t h3-Jan-10 6:40 
GeneralRe: creating ajax from C# Pin
Hema Bairavan3-Jan-10 17:11
Hema Bairavan3-Jan-10 17:11 
AnswerRe: creating ajax from C# Pin
keyur satyadev3-Jan-10 19:03
keyur satyadev3-Jan-10 19:03 
NewsRe: creating ajax from C# [modified] Pin
Hema Bairavan3-Jan-10 19:58
Hema Bairavan3-Jan-10 19:58 
QuestionQuestion regarding major decline in data retrieval efficiency Pin
James Shao3-Jan-10 2:59
James Shao3-Jan-10 2:59 
AnswerRe: Question regarding major decline in data retrieval efficiency Pin
N a v a n e e t h3-Jan-10 4:46
N a v a n e e t h3-Jan-10 4:46 
GeneralRe: Question regarding major decline in data retrieval efficiency Pin
James Shao3-Jan-10 12:27
James Shao3-Jan-10 12:27 
QuestionUnit testing is a must learn technology for an asp.net programmer? Pin
popchecker2-Jan-10 19:49
popchecker2-Jan-10 19:49 
AnswerRe: Unit testing is a must learn technology for an asp.net programmer? Pin
N a v a n e e t h3-Jan-10 4:57
N a v a n e e t h3-Jan-10 4:57 
GeneralRe: Unit testing is a must learn technology for an asp.net programmer? Pin
popchecker3-Jan-10 17:16
popchecker3-Jan-10 17:16 
GeneralRe: Unit testing is a must learn technology for an asp.net programmer? Pin
N a v a n e e t h3-Jan-10 21:39
N a v a n e e t h3-Jan-10 21:39 
GeneralRe: Unit testing is a must learn technology for an asp.net programmer? Pin
popchecker3-Jan-10 22:43
popchecker3-Jan-10 22:43 
QuestionAjax modal pop up for dynamic control Pin
Hema Bairavan2-Jan-10 18:48
Hema Bairavan2-Jan-10 18:48 
Questionexecuting procedure, Pin
Hema Bairavan2-Jan-10 17:40
Hema Bairavan2-Jan-10 17:40 
AnswerRe: executing procedure, Pin
Brij2-Jan-10 23:04
mentorBrij2-Jan-10 23:04 
GeneralRe: executing procedure, Pin
Hema Bairavan3-Jan-10 2:06
Hema Bairavan3-Jan-10 2:06 
GeneralRe: executing procedure, Pin
Brij3-Jan-10 3:28
mentorBrij3-Jan-10 3:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.