User Profile

Collapse

Profile Sidebar

Collapse
laks2886
laks2886
Last Activity: Jun 6 '09, 08:38 AM
Joined: Dec 24 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • laks2886
    started a topic modal pop up on clicking the drop down

    modal pop up on clicking the drop down

    Hi..

    I have a page where i have some drop downs whose defalut value is set to "All". unlike the other cases where, when we click on the drop down arrow we get a list items to select. Clicking on the items and getting a pop up is easier.

    But Now my requirement is on click of this drop down arrow a pop up extender(Ajax) has to be opened. There should not be any list items below as in the normal case.
    ...
    See more | Go to post

  • laks2886
    started a topic modal pop up on clicking the drop down

    modal pop up on clicking the drop down

    Hi..

    I have a page where i have some drop downs whose defalut value is set to "All". unlike the other cases where, when we click on the drop down arrow we get a list items to select. Clicking on the items and getting a pop up is easier.

    But Now my requirement is on click of this drop down arrow a pop up extender(Ajax) has to be opened. There should not be any list items below as in the normal case.
    ...
    See more | Go to post

  • laks2886
    replied to Validating a listbox using javascript
    Code:
    <asp:GridView ID="grdLevels" runat="server" AutoGenerateColumns="False" Width="750px" OnRowDataBound="grdLevels_RowDataBound" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Horizontal" EnableViewState="true">
                    <Columns>
    ...
    See more | Go to post
    Last edited by acoder; Jan 10 '09, 11:22 AM. Reason: Added [code] tags

    Leave a comment:


  • laks2886
    replied to Validating a listbox using javascript
    This is the Java script functin for validating the drop down.. listbox n text box...

    [code=javascript]
    function ValidateSave()
    {
    var lblSelectClient = document.getEle mentById('<%=dd lSelectClient.C lientID%>');
    if(lblSelectCli ent.selectedInd ex==0)
    {
    alert('Please select a client');
    return false;
    }

    var ddlSelectHierar chy...
    See more | Go to post
    Last edited by Frinavale; Dec 30 '08, 05:31 PM. Reason: added [code] tags

    Leave a comment:


  • laks2886
    replied to Validating a listbox using javascript
    thanks for the reply.. i have drop down and lsit boxes in my page.. these listboxes are dynamic and can vary from 1 to 4.

    as u said i have used document.getEle mentsByTagName( "select") to get all the references.. this is working fine for the dropdown, when it comes to list box ... instead of selecting the labeldesc of the lisbox it takes the values of the list box.
    See more | Go to post

    Leave a comment:


  • laks2886
    started a topic Validating a listbox using javascript

    Validating a listbox using javascript

    can anybody tell me how do u validate a listbox to select atleast one item from it. I have a listbox within the template field of a grid view. and these listboxes can vary from 1 to 4. how can i know how many listboxes are present so that i can loop in javascript.
    See more | Go to post
No activity results to display
Show More
Working...