Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:833726
More Search Options
RSS Available
Matching Posts
Re: syntax error??
hi again, use "OnClientClick" to call your method I used Test as the name of the function in last post so code will like this for the button. <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="test()" /> Bye. I this helps you please mark this post as answered as this will help others to know that this post is resolved.
Posted to
Client Side Web Development
(Forum)
by
mohammednu
on 11/24/2008
Re: syntax error??
Hi Buddy your missing an important point.. return statement is for " FUNCTIONS " and there is no "method or function" in your script. I have no idea about VB.net so i will post a code in c# hope this will help you string str="<script langauge=javascript>"; str += "function test(){"; str += "window.open('showreport.aspx?ink=" + ddlink.SelectedValue + "&cust=" + ddlname.SelectedValue + "','jkj','height=610px
Posted to
Client Side Web Development
(Forum)
by
mohammednu
on 11/24/2008
Re: line-height as applied to a input type=text in firefox
Hai there, There is a crazy way to make this work in both Firefox and IE, The text box heigh = 20px The Font size= 12px Difference between them is "8px" So we can use padding to set the text align to "center" here is the code "top padding is 4px and bottom padding is 4px" and do not set height in text box. As we set padding the height will be increased.. so it will 20px no worries for height; <style type="text/css"> .txt { padding-top:4px; padding-bottom
Posted to
Client Side Web Development
(Forum)
by
mohammednu
on 11/24/2008
Re: Onleave event for a textbox
For adding Client Events in ASP control you can add an attribute HTML: <body> <script language="jscript" type="text/jscript"> function test() { alert ("hai"); } </script> <form id="form1" runat="server"> <div> <asp:TextBox ID="txtTest" runat="server" text="Click Here"></asp:TextBox> </div> </form> </body> </html> C# : protected void Page_Load(object sender
Posted to
Client Side Web Development
(Forum)
by
mohammednu
on 11/20/2008
Re: hyperlink on click
Hi, For reading cookies you can check this link http://techpatterns.com/downloads/javascript_cookies.php For redirecting to another page check this link http://www.tizag.com/javascriptT/javascriptredirect.php Bye.. If this resolves your issue please mark your post as answered as it helps others to identify that this post is closed.
Posted to
Getting Started
(Forum)
by
mohammednu
on 11/19/2008
Re: CSS centering whole page in browser
i guess i found your error. Make yout content Postion absolute too.. < div id ="content"> *** Content here including menu and banner + Contentplaceholdercontrol *** </ div > #content { width : 100% ; position: absolute; } bye take care. if this resolves your issue please mark this post as answered... as this would let others know that this post is closed
Posted to
Client Side Web Development
(Forum)
by
mohammednu
on 11/13/2008
Re: CSS centering whole page in browser
I guess its not related to position as absolute. i have tried some component as absolute ... no problem for me.. this is the code <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> <style type="text/css"> .xt { position:absolute; color:Lime; } </style> </head> <body style="background-color:Gray;"> <form id="form1" runat="server"> <div style
Posted to
Client Side Web Development
(Forum)
by
mohammednu
on 11/13/2008
Re: Nesting an if -then with javascript.
Hai, Since you are setting Panel property not visible when the page is generated that control will not be rendered or created.. so its not possible to fetch an object when its not there... For your issue.. here is the code which will identify that if the object exists or not. <script type="text/javascript"> function checkObject(obj) { var chkObj=document.getElementById(obj); if (chkObj==null) { alert("No Object Found"); } else { alert("Object Found"); } } <
Posted to
Client Side Web Development
(Forum)
by
mohammednu
on 11/13/2008
Re: setAttribue
Hi, Here is a sample code.. it worked for me in IE .. but not in firefox.. Hope this will help you But remember you cannot set "events like onclick onmousemove etc...." using setAttributes.. <body onload="setatr()"> <script type="text/javascript"> function setatr() { document.getElementById('div1').setAttribute("innerHTML","Text Got Changed during Load"); } function setatrbtn() { document.getElementById('div1').setAttribute
Posted to
Client Side Web Development
(Forum)
by
mohammednu
on 11/13/2008
Re: How do I change the "z-index" of a panel control when using the dragpanel control to bring it to the front
Hi, If you want to set z-index dynamically you can use Javascript.. I pasted a sample code <script type="text/javascript"> function changeIndex(crl) { document.getElementById(crl).style.zIndex=-1; } </script> <form id="form1" runat="server"> <div style="position: absolute;" id="div1"> <img src="1.GIF" alt="1" /> </div> <div style="position: absolute" id="div2"> <img
Posted to
Client Side Web Development
(Forum)
by
mohammednu
on 11/13/2008
Page 1 of 3 (27 items) 1
2
3
Next >
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online