This month Inbar Gazit shows readers how to get the most out of the System.Collections namespace.
Inbar Gazit
MSDN Magazine August 2007
View Complete Post
This article discusses how to write a library or framework that uses the Dependency Injection pattern and how the change in focus affects the usage of the pattern.
Chris Tavares
MSDN Magazine November 2009
This article discusses the Project Linker tool and other techniques to create applications that target both WPF and Silverlight from a single code base.
Erwin van der Valk
MSDN Magazine August 2009
There are many factors to consider when building your app with both managed and native code. Find out how to employ interop and how to choose the interop that's right for you.
Jesse Kaplan
MSDN Magazine January 2009
Hi.
I have Repeater, which consists of LinkButon and Literal.ÃÂ LinkButon and Literal are whole thing by implication. I want get value from Literal, when user click onÃÂ corresponding LinkButton.
TIAÃÂ
Hi. I have a itemtemplate inside a gridview.
<asp:TemplateField HeaderText="Enter OTP"> <ItemTemplate> <asp:Label ID="Label2" runat="server" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small" Text="PIN Num:"></asp:Label> <asp:TextBox ID="txtPIN" runat="server" Height="21px" Width="100px"></asp:TextBox> &
Hi,
When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution http://www.nopcommerce.com/boards/t/4228/bug-in-ajax-html-editor.aspx .
My question is where do I find the DesignPanel.pre.js ?
Thanks,
Roderick Vella
I am displaying large amount of data in gridview,the gridview placed within updatepanel,every 1sec i am refreshing updatepanel using ajax timer.my problem is while displaying large data the cpu performance is low,pls give idea to increase cpu performance..
How can I get all the textboxes inside a create user wizard control using getElementsByTagName().
Below is my JQuery code:
<script type="text/javascript"> function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldonload(); func(); } } } function prepareInputsForHints() { var inputs = document.getElementsByTagName("asp:TextBox"); for (var i = 0; i < inputs.length; i++) { inputs[i].onfocus = function() { this.parentNode.getElementsByTagName("span")[0].style.display = "inline"; } inputs[i].onblur = function() { this.parentNode.getElementsByTagName("span")[0].style.display = "none"; } } } addLoadEvent(prepareInputsForHints); </script>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
I have databound GridView in my page and I have a hidden DIV in all rows. Each row contains a Button that I want it to make the DIV visible for me! how can I use that with jQuery?!
here is the code page:
I'm using following JS code to display input hint box besides the textbox whenever that asp.net textbox receives focus.
I'm doing this for a registration form and all of the textboxes are inside the asp.net create user wizard control.
<script type="text/javascript"> function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldonload(); func(); } } } function prepareInputsForHints() { var inputs = document.getElementsByTagName("TextBox"); for (var i=0; i<inputs.length; i++){ // test to see if the hint span exists first if (inputs[i].parentNode.getElementsByTagName("span")[0]) { // the span exists! on focus, show the hint inputs[i].onfocus = function () { this.parentNode.getElementsByTagName("span")[0].style.display = "inline"; } // when the cursor moves away from the field, hide the hint inputs[i].onblur = function () { this.parentNode.getElementsByTagName("span")[0].style.display = "none"; } } } addLoadEvent(prepareInputsForHints); </script>
span.
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend