User Profile

Collapse

Profile Sidebar

Collapse
phpmel
phpmel
Last Activity: Dec 8 '08, 01:49 PM
Joined: Oct 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I am adding data to a table in the code behind and then i attempt to set the text of the label in the panel to "The record was successfully saved" and then pop up the panel as a sort of message box.
    See more | Go to post

    Leave a comment:


  • the pop up is just a sort of confirmation box that has a message and an ok button. Can you please elaborate or show me some kind of example
    See more | Go to post

    Leave a comment:


  • asp panel : How to make it pop up in the centre of the page when run

    Hi Guys,

    I have an asp panel,an associated drag panel extender, a label and an OK button that serves as a message popup. i would like this pop up to show up in the centre of the browser window when the page is run.

    can someone please help me
    My code is below. i am using master pages

    Code:
    <asp:Panel ID="MessagePanel" runat="server" Style="z-index: 100;
    left:
    ...
    See more | Go to post

  • how to programatically call a gridview event from codebehind.

    hi guys,

    I have 2 gridviews, one inside a modal popup(gvSupplie rs) and one on the page(gvFirms). The header row of the gvFirms has 4 text boxes. I can find those controls easily inside the selectedindexCh anged method of gvSuppliers easilly when one row gvSupliers is selected. My problem arises when i try to find the 4 textboxes inside the emptydatatempla te of gvFirms.

    Eg.

    Code:
    protected void gvSuppliers_SelectedIndexChanged(object
    ...
    See more | Go to post
    Last edited by phpmel; Aug 25 '08, 01:08 PM. Reason: addition

  • phpmel
    started a topic grid View count pages
    in .NET

    grid View count pages

    Casn some one help me do this.

    I have a label above a gridview that suppose to show

    "Records 1 to 10 of 1000"
    well not exxactly that but the actual record count of the gridview etc. this label is supposed to change when the page of the grid view changes.

    What events do i tie this to and how do i get the values to set the label text?
    See more | Go to post

  • sorry guys,

    thanks anyway.

    it is working
    somehow i set the selected date to be todays date in page load.

    Deleted it and it works perfectly

    thanks
    See more | Go to post

    Leave a comment:


  • can not select todays date with asp calendar within an update panel

    Hi guys,

    I have an asp calendar control, text box, calendar icon, eraser icon all within an update panel. The calendar works fine, postbacks are handled without the flickering of the screen etc. my only problem is that i can not select today's date to display in the text box because by default, today's date is the selected date.

    Code:
    <asp:UpdatePanel ID="UpdatePanel_start" runat="server" ChildrenAsTriggers="true"
    ...
    See more | Go to post

  • phpmel
    started a topic Crystal Rports within.net - Server connection
    in .NET

    Crystal Rports within.net - Server connection

    Hi guys,

    I have a .net project. Pretty simple, one web form, 1 database, 1 crystal report.
    Based on the criteria selected in the form, the crystal report will be shown. It works fine.However, i built it for someone on my home pc. It is connecting to sql server express using windows authentication and when i build and run it at home from within visual studio, it works fine.
    I gave my friend all the necessary files, however...
    See more | Go to post

  • phpmel
    started a topic menu on master page and <noscript> tag
    in .NET

    menu on master page and <noscript> tag

    hi guys,

    here is my problem,

    i have a masterpage that has a menu. on my homepage, i added the <noscript> tag to verify if the user has scripting enabled or not in the browser. When scripting is disabled and the error message is shown, the menu which is part of the masterpage,is disabled also so unless the user enables scripting,then the menu is non functional.

    i wanted to know why this is happening...
    See more | Go to post

  • phpmel
    replied to <noscript> not working
    thanks

    Code:
    <%@ Page Language="C#"  %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    
    <body>
    
    <noscript>No JavaScript support!</noscript>
    
    <p>A browser that does not support
    ...
    See more | Go to post

    Leave a comment:


  • phpmel
    started a topic <noscript> not working

    <noscript> not working

    Code:
    <%@ Page Language="C#" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <script language="JavaScript" type="text/javascript">
         
    </script>
    <noscript>
         <b>Please</b> Try this page for browsers that can not handle SCRIPTing.
    ...
    See more | Go to post

  • thank you for you suggestion,

    i did view the generated source code and what i discovered was that there was no code for the labels since i had initially set them to be NOT visible, so when the page is loaded it was causing the error. i set the labels visible=true and i believe it is working now.

    thank you so much. i am going to play around with it a little bit and if anything else occurs, i will post back
    ...
    See more | Go to post

    Leave a comment:


  • javascript within asp.net framework, document.getElementbyId error

    hi guys,

    here is my problem. i have a js function called changemsg that takes a label in an aspx page and sets its text to blank.

    Code:
    <script type="text/javascript" >
            function changemsg(lbl){
                document.getElementById(lbl).innerHTML=" ";
            }
    </script>
    on the page load method of my page, i call the function as...
    See more | Go to post

  • phpmel
    replied to horizontal rule visible and not visible
    thank you

    it worked
    See more | Go to post

    Leave a comment:


  • thank you, that works

    is there also a way to change it with c# using the id?
    See more | Go to post

    Leave a comment:


  • phpmel
    started a topic horizontal rule visible and not visible

    horizontal rule visible and not visible

    Hi Guys,

    Can a horizontal rule be visible and not visible within the <td> tag of a row on a table?
    Code:
     <tr>
           <td colspan="4" style="height: 20px; text-align: left" valign="middle">
                    <hr id ="hr" style="width: 75%" visible="false" >                 
             </td>
    </tr>
    ...
    See more | Go to post

  • phpmel
    started a topic making a Horizontal Rule visible and not visible
    in .NET

    making a Horizontal Rule visible and not visible

    Hi Guys,

    Can a horizontal rule be visible and not visible within the <td> tag of a row on a table?
    Code:
     <tr>
           <td colspan="4" style="height: 20px; text-align: left" valign="middle">
                    <hr id ="hr" style="width: 75%" visible="false" >                 
             </td>
    </tr>
    ...
    See more | Go to post

  • phpmel
    started a topic dropdown list and databinding issue
    in .NET

    dropdown list and databinding issue

    hi guys,

    I am using Visual Studio 2005. I have a dropdown list that has an associated SQLdatasource. I also have a textbox below the dropdown list that allows you to add items to the table that the datasource is associated with.After entering a new item into the table that the datasource is tied to, i would like to "refresh" the dropdown list so this is what i did

    manuDropDownLis t.Items.Clear() ;
    manuDropDownLis t.DataBind();...
    See more | Go to post

  • phpmel
    started a topic numbers and a full stop regular expression
    in .NET

    numbers and a full stop regular expression

    hi guys,

    how can I validate a textbox with a reg exp validator that says that the textbox must have only digits and no more than one full stop....I am testing for a float.......eg
    the user can enter 4, 69, 60.356,7.3,2456 4

    can some one please help me with this expression
    See more | Go to post

  • phpmel
    replied to javascript function parametrs help
    Hi guys,

    I figured it out, Here is the code

    This is the call to the function in the pageLoad method
    Account.Attribu tes.Add("onFocu s", "changemsg('ctl 00_ContentPlace Holder1_Account Label');");


    this is the javascript function
    <script type="text/javascript">
    function changemsg(lbl){
    document.getEle mentById(lbl).i nnerHTML="...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...