Posts

Showing posts from May, 2014

Subqueries in UPDATE Statements

UPDATE itAppTranslationSkills SET ASS_Specialisations = b.ASS_Specialisations FROM itAppTranslationSkills AS a INNER JOIN itAppSpecialisationSkillsExp AS b     ON a.aid_pk = b.aid_pk  ;

Chandra Bhushan Prasad: How do I find the Client ID of control within an A...

Chandra Bhushan Prasad: How do I find the Client ID of control within an A... : <asp:TemplateField> <ItemTemplate> <asp:TextBox ID = "textDateSent" runat = "server" &gt...

Chandra Bhushan Prasad: How to show help text in page on mouse move

Chandra Bhushan Prasad: How to show help text in page on mouse move : Add this code in aspx.page ------------------------------------------  <a href="#" style="cursor: pointer;" onmous...

How to show help text in page on mouse move

Add this code in aspx.page ------------------------------------------  <a href="#" style="cursor: pointer;" onmousemove="ShowPicture('ChannelsHelpImageStyle1',1)"                                             onmouseout="ShowPicture('ChannelsHelpImageStyle1',0)">                                             <asp:Image ID="proofimg" runat="server" ImageUrl="~/App_Themes/IT/Photo/LanguageSkills_03.png" />                         ...

Scroll page and position at callout box after click on button.

 <%-- aspx code--%> --------------- <input type="button" value="Submit Review"  ValidationGroup="LApproval" class="login-buttonLginpage" onclick="validationCalloutPostionAdjust('LApproval'); showpopup('LApproval');" />  ----------------  <%-- Script --%> function validationCalloutPostionAdjust(validationGroup) {     //To find all the ValidationCallout client behavior     Page_ClientValidate(validationGroup);     var currentBehavior = null;     var allBehaviors = Sys.Application.getComponents();     for (var loopIndex = 0; loopIndex < allBehaviors.length; loopIndex++) {         currentBehavior = allBehaviors[loopIndex];         if (currentBehavior != null) {             //execute the operation of changing the popup's position ...

How to pass textbox id as a parameter to the function in javascrip

<asp:TextBox ID="txtRatingA" runat="server" onblur="ShowRatingDetails(this,1)">0</asp:TextBox> <asp:Label ID="lbltxtRatingDetailsA" runat="server"></asp:Label> <asp:TextBox ID="txtRatingB" runat="server" onblur="ShowRatingDetails(this,2)">0</asp:TextBox> <asp:Label ID="lbltxtRatingDetailsB" runat="server"></asp:Label> <script type="text/javascript">     function ShowRatingDetails(SourceID, Type) {         var inputval = SourceID.value;         var resultval = "";         if (inputval == 1)             resultval = "Unacceptable – Inaccurate";         else if (inputval == 2)             resultval = "Unacceptable (Borderline)";        ...

HOW TO Use the NumericUpDown Control

HOW TO Use the NumericUpDown Control  Great help taken from  http://www.asp.net/ajaxlibrary/HOW%20TO%20Use%20the%20NumericUpDown%20Control.ashx NumericUpDown Demonstration NumericUpDown Description NumericUpDown is an ASP.NET AJAX extender that can be attached to an ASP.NET TextBox control to add "up" and "down" buttons that increment and decrement the value in the TextBox. The increment and decrement can be simple +1/-1 arithmetic, they can cycle through a provided list of values (like the months of the year), or they can call a Web Service to determine the next value. Page authors can also provide custom images to be used instead of the default up/down button graphics. Video - How Do I: Use the ASP.NET AJAX NumericUpDown Control? NumericUpDown Client Code Sample view plain copy to clipboard print ? < script   runat = "server" >        [System.Web.Services.W...