Click here to Skip to main content
15,913,278 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDifferent Indian Languages in Textbox Pin
harsh_c2-Feb-09 18:12
professionalharsh_c2-Feb-09 18:12 
AnswerRe: Different Indian Languages in Textbox Pin
Dave Kreskowiak2-Feb-09 18:37
mveDave Kreskowiak2-Feb-09 18:37 
AnswerRe: Different Indian Languages in Textbox Pin
N a v a n e e t h2-Feb-09 18:47
N a v a n e e t h2-Feb-09 18:47 
GeneralRe: Different Indian Languages in Textbox Pin
harsh_c2-Feb-09 18:55
professionalharsh_c2-Feb-09 18:55 
GeneralRe: Different Indian Languages in Textbox Pin
Rupesh Kumar Swami2-Feb-09 19:42
Rupesh Kumar Swami2-Feb-09 19:42 
GeneralRe: Different Indian Languages in Textbox Pin
harsh_c2-Feb-09 19:56
professionalharsh_c2-Feb-09 19:56 
AnswerRe: Different Indian Languages in Textbox Pin
ketur patel3-Feb-09 2:06
professionalketur patel3-Feb-09 2:06 
Questioncalling vb.net function on a dynamic modalpopup extender [modified] Pin
hyperalergelo2-Feb-09 14:59
hyperalergelo2-Feb-09 14:59 
I am having trouble on calling a function on my code behind.. here's my code..

MPEConfirm = New AjaxControlToolkit.ModalPopupExtender<br />
   Dim popup As LiteralControl = New LiteralControl<br />
   PnlConfirm = New Panel<br />
   btnConOK = New Button<br />
   btnConCancel = New Button<br />
                'asp panel for modal popup<br />
                With PnlConfirm<br />
                    .ID = "PnlConfirm"<br />
                    .CssClass = "modalPopup"<br />
                    .Attributes.Add("Style", "display: none")<br />
                    .Height = 100<br />
                    .Width = 233<br />
                End With<br />
<br />
                With btnConOK<br />
                    .ID = "btnConOK"<br />
                    .CssClass = "Buttons"<br />
                    .Text = "Yes"<br />
                    .Width = 50<br />
                End With<br />
                arrbtnConOK(l) = btnConOK<br />
                AddHandler btnConOK.Click, AddressOf btnConOK_Click<br />
<br />
                With btnConCancel<br />
                    .ID = "btnConCancel"<br />
                    .CssClass = "Buttons"<br />
                    .Text = "No"<br />
                    .Width = 50<br />
                End With<br />
                AddHandler btnConCancel.Click, AddressOf btnConCancel_Click<br />
<br />
                popup = New LiteralControl("&lt;br /><div align='center'>")<br />
                PnlConfirm.Controls.Add(popup)<br />
                'popup = New LiteralControl("&lt;span style='font-size:10px;color:white;font-family:Verdana'>Are you sure you want to continue without saving?</span><br /><br />")<br />
                'PnlConfirm.Controls.Add(popup)<br />
                popup = New LiteralControl("&lt;span style='font-size:10px;color:white;font-family:Verdana'>Do you want to save the changes that you made?</span><br /><br />")<br />
                PnlConfirm.Controls.Add(popup)<br />
                PnlConfirm.Controls.Add(btnConOK)<br />
                popup = New LiteralControl("&nbsp")<br />
                PnlConfirm.Controls.Add(popup)<br />
                PnlConfirm.Controls.Add(btnConCancel)<br />
                popup = New LiteralControl("&lt;/div>")<br />
                PnlConfirm.Controls.Add(popup)<br />
<br />
For l = 0 To dt.Rows.Count - 1<br />
<br />
                imgExpand = New ImageButton<br />
                With imgExpand<br />
                    .ID = "imgExpand_" & l<br />
                    .ImageUrl = "~/Files/images/expand_blue.gif"<br />
                    .CommandName = l<br />
                    .CommandArgument = dt.Rows(l)("core_id")<br />
                End With<br />
                AddHandler imgExpand.Click, AddressOf imgExpand_Click<br />
<br />
                'modalpopup extender<br />
                With MPEConfirm<br />
                    .ID = "MPEConfirm" & l<br />
                    .TargetControlID = "imgExpand_" & l<br />
                    .PopupControlID = "PnlConfirm"<br />
                    .BackgroundCssClass = "modalBackground"<br />
                    '.OkControlID = "btnConOK"<br />
                    '.CancelControlID = "btnConCancel"<br />
                End With<br />
                arrMPEConfirm(l) = MPEConfirm<br />
                PnlCoreComp.Controls.Add(imgExpand)<br />
                PnlCoreComp.Controls.Add(arrMPEConfirm(l))<br />
Next<br />
PnlCoreComp.Controls.Add(PnlConfirm)


i disabled okControlID and CancelControlID to be able to disregard the client script and the button would go directly to the function on my code behind.. my problem is, my function won't trigger even if i added event handler on my button.. any idea? Confused | :confused:

yours truly,
hyperalergelo

modified on Tuesday, February 3, 2009 12:42 AM

AnswerRe: calling vb.net function on a dynamic modalpopup extender Pin
Christian Graus2-Feb-09 15:36
protectorChristian Graus2-Feb-09 15:36 
GeneralRe: calling vb.net function on a dynamic modalpopup extender Pin
hyperalergelo2-Feb-09 16:06
hyperalergelo2-Feb-09 16:06 
GeneralRe: calling vb.net function on a dynamic modalpopup extender Pin
Dave Kreskowiak2-Feb-09 18:38
mveDave Kreskowiak2-Feb-09 18:38 
GeneralRe: calling vb.net function on a dynamic modalpopup extender [modified] Pin
hyperalergelo2-Feb-09 18:44
hyperalergelo2-Feb-09 18:44 
QuestionDataGridView Pin
CodingYoshi2-Feb-09 10:12
CodingYoshi2-Feb-09 10:12 
AnswerRe: DataGridView Pin
JoseMenendez2-Feb-09 10:23
JoseMenendez2-Feb-09 10:23 
QuestionChanging Default Printer Pin
Dominick Marciano2-Feb-09 5:53
professionalDominick Marciano2-Feb-09 5:53 
AnswerRe: Changing Default Printer Pin
EliottA2-Feb-09 5:57
EliottA2-Feb-09 5:57 
GeneralRe: Changing Default Printer Pin
Dominick Marciano2-Feb-09 6:01
professionalDominick Marciano2-Feb-09 6:01 
GeneralRe: Changing Default Printer Pin
EliottA2-Feb-09 6:02
EliottA2-Feb-09 6:02 
GeneralRe: Changing Default Printer Pin
Dominick Marciano2-Feb-09 9:16
professionalDominick Marciano2-Feb-09 9:16 
QuestionFacing Problem in Creating Mailmerge in Openoffice Using Vb.Net Pin
savanparmar2-Feb-09 5:25
savanparmar2-Feb-09 5:25 
AnswerRe: Facing Problem in Creating Mailmerge in Openoffice Using Vb.Net Pin
EliottA2-Feb-09 6:13
EliottA2-Feb-09 6:13 
GeneralRe: Facing Problem in Creating Mailmerge in Openoffice Using Vb.Net Pin
savanparmar2-Feb-09 6:33
savanparmar2-Feb-09 6:33 
GeneralRe: Facing Problem in Creating Mailmerge in Openoffice Using Vb.Net Pin
EliottA2-Feb-09 6:34
EliottA2-Feb-09 6:34 
GeneralRe: Facing Problem in Creating Mailmerge in Openoffice Using Vb.Net [modified] Pin
savanparmar3-Feb-09 21:20
savanparmar3-Feb-09 21:20 
GeneralRe: Facing Problem in Creating Mailmerge in Openoffice Using Vb.Net Pin
savanparmar5-Feb-09 1:30
savanparmar5-Feb-09 1:30 

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.