Hi, I have just started learning WPF and exploring more on WPF controls. Can any one help how to display popup? I have used TextBlock under popup control as below :
But how to trigger this popup? Thanks and regards, Rahul Chitte
Hi, I have just started learning WPF and exploring more on WPF controls. Can any one help how to display popup? I have used TextBlock under popup control as below :
But how to trigger this popup? Thanks and regards, Rahul Chitte
How to handle key events in Pocket Internet Explorer using javascript?
How to handle key events in Pocket Internet Explorer using javascript?
Hi, I am running web application on Pocket IE(Ver.5.0),application contains some server controls and i have to access those controls using javascript. I used getElementById('controlName') ... so on. but i could not acces those controls.. I searched lot on google but dint got any decent reason why this is happening. Can anyone help in this regards.? Thanks in advanced Rahul C.
Hi, I am running web application on Pocket IE(Ver.5.0),application contains some server controls and i have to access those controls using javascript. I used getElementById('controlName') ... so on. but i could not acces those controls.. I searched lot on google but dint got any decent reason why this is happening. Can anyone help in this regards.? Thanks in advanced Rahul C. :( -- Modified Monday, October 25, 2010 3:17 AM
Hi, Can any one help me out in regards to Calling WebService from VB6 environment ? Thanks in advanced !! :)
No i am not assigning any handler in page load, in page load i am just calling the method to create these controls, evrything is in the method itself and that code i have alredy pasted. Thanks for your quick reply on this.
How to Add Handlers for dynamically created web controls in ASP.net ? I have tried below code but..event is not getting fired..Can anyone help it out..? <pre>For iCounterVar As Integer = 0 To sAnswers.Length - 1 Dim t As New TextBox tblCell = New TableCell tblRow = New TableRow t.Text = sAnswers(iCounterVar).ToString AddHandler t.TextChanged, AddressOf MyTextChangedEvent tblCell.Controls.Add(t) tblRow.Controls.Add(tblCell) tblQuestion.Controls.Add(tblRow) Next Protected Sub MyTextChangedEvent(ByVal sender As Object, ByVal e As System.EventArgs) lblMessage = New Label lblMessage.Text = "Cuaght TextChanged :" & DirectCast(sender, TextBox).Text & " In " ' & DirectCast(sender, TextBox).Parent.ID.ToString) PlaceHolder1.Controls.Add(lblMessage) End Sub</pre>
Hi All, I am having web page containing table element in this table i am having 5-6 rows based on some condition i am hiding and showing some of the rows using javascript,this functionality is working fine but the Tab order of controls get diturbed when some rows gets hide, Tab order is working fine when all rows are visible. Can any one look into this issue? :)
Use the stringbulder to build the string and put debug point to test wheather ur string is formed is the correct one. for e.g Dim sbScript as new System.Text.Stringbuilder sbScript.append("Select eName,eSalary from Emp ") sbScript.append("where eid=") //Use the single quote after = sign if eid is string sbScript.append(TextBox1.Text) cmd.CommandText = sbScript.ToString() Hope this trick will be helpful to you...
I m facing 'originalWidth' is null or not an object javascript error on my aspx web page, i m hiding and showing panel based on checkbox, the panel contains some of the ajax validationCalloutExtender controls , when i m clicking on submit button i m getting the error as - 'originalWidth' is null or not an object" Can someone help regarding this issue. Thanks in advanced Rahul
Yes i do have ScriptManager on my page
You are perfectly right but i have to explicitly call that function from one of my checkbox event based on some condition. The scenario is as below : I am assigning text of dropdown1 to another dropdown2 , i have written javascript function for its onchange event and based on dropdown2 text i am hiding section below dropdown2 using javascript, the thing is that when i m changing value from dropdown2 then it is working fine but when i m trying to assign value of dropdown1 to dropdown2 using .Text property the section below is not getting hide because onchange event is not getting fired.
I m not able to call javascript function ValidateYear with year as parameter, can some1 help reg this issue, i hv written following code in aspx code behind.. Dim sbScript As New System.Text.StringBuilder sbScript.Append("ValidateYear(") sbScript.Append(cboYearAtCurrentAddressCoApplicantContact.Text) sbScript.Append(");") 'Page.ClientScript.RegisterClientScriptBlock(Me.GetType, "key",sbScript.ToString, False) ClientScript.RegisterClientScriptBlock(Page.GetType, "key", sbScript.ToString, False) Neither exception is thrown nor calling javascript.Plz Help
Hi, I need help regarding displaying small popup message when user mouse over the pointer the hyperlink, I have created this with javascript and it is showing the required popup onmouseover and onMouseOut it is hiding the popup using kill() method given below in code snippest but problem is whenever u scroll the page the popup msg will get displayed at the top and not on the hyperlink(onMouseOver).. If anyone is having any idea of setting the mouse pointer to desired location or any alternate solution to show onHover popup using javascript. Plz see code below: //Hover Text for SSN Xoffset= 20 //-10; //-60; // modify these values to ... Yoffset= -25 //-150; //20; // change the popup position. var old,skn,iex=(document.all),yyy=-1000; var ns4=document.layers var ns6=document.getElementById&&!document.all var ie4=document.all if (ns4) skn=document.dek else if (ns6) skn=document.getElementById("dek").style else if (ie4) skn=document.all.dek.style if(ns4)document.captureEvents(Event.MOUSEMOVE); else { skn.visibility="visible" skn.display="none" } document.onmousemove=get_mouse; function popup(msg,bak) { var content="<TABLE WIDTH=250 BORDER=1 BORDERCOLOR=#01244E CELLPADDING=2 CELLSPACING=0 "+ "BGCOLOR="+bak+"><TD ALIGN=left style='padding-left:5px;font-size:8pt;font-family:Arial;color:#01244E'>"+msg+"</TD></TABLE>"; yyy=Yoffset; if(ns4){skn.document.write(content);skn.document.close();skn.visibility="visible"} if(ns6){document.getElementById("dek").innerHTML=content;skn.display=''} if(ie4){document.all("dek").innerHTML=content;skn.display=''} } function get_mouse(e) { var x=(ns4||ns6)?e.pageX:event.x+document.body.scrollLeft; skn.left=x+Xoffset; var y=(ns4||ns6)?e.pageY:event.y+document.body.scrollTop; skn.top=y+yyy; } function kill() { yyy=-1000; if(ns4){skn.visibility="hidden";} else if (ns6||ie4) skn.display="none" }
Can someone help me to figure out how to get the editable textbox value from the GridView in my code-behind ? I am using the code something like- GridView2.Rows[e.RowIndex].Cells[4].Text.Trim() But when I click the update link button , I don't get the value. Is there another way of doing this ? I want to Read the GridView cell from my code-behind and pass that to a update method that I have written in the .cs file. Thanks in advanced !! :)