Search

You searched for the word(s): userid:873982

Matching Posts

  • Re: How to set all control in a form to same font

    write down in your page as style mentioend: body { font-size: 8pt; font-family: Arial; padding:auto; } this will apply to all controls in form, this you can specify in your page's <head> tag or in different CSS class... Giving style in <body> is useful, if you are using masterpage and want same font in all Content pages without giving style individually in all pages..
    Posted to Client Side Web Development (Forum) by ChaitanyaC on 7/17/2009
  • Re: web page is not resizing when screen resolution is 800 x 600

    Hey, there is not at all possible to match your requirement as control will occupy their minimum width and height, so scroll bar will appear by default... The best way to meet both ends is to design your page in 800 x 600 resolution without scroll bar and height - width in % , so when you increase resolution automatically all controls will be fit in space... try this
    Posted to Client Side Web Development (Forum) by ChaitanyaC on 7/17/2009
  • Re: java script IE error ; expected

    you can easily get the location of error in Mozila/ Firefox browser. Go to tools > error console > click on error -- it will redirect you to the exact location where ';' is missing, this way you can always debug javascript
    Posted to Client Side Web Development (Forum) by ChaitanyaC on 7/11/2009
  • Re: align CSS on the same line

    the solution for all browser, try this: <div id="text" style=" float:left" > <ul> <li>first</li> </ul> </div> <p style=" float:left" > Some text</p>
    Posted to Client Side Web Development (Forum) by ChaitanyaC on 7/11/2009
  • Re: Disable Postback

    You may write in <a> tag as follows: <a href = "javascript:void(0);" > Your contents </a> Hope it may work for you, still you can rebound the form on each postback to change data again and save again as per requirement.
    Posted to Client Side Web Development (Forum) by ChaitanyaC on 7/11/2009
  • Re: Calling class method from javascript

    TRy this: this you can write for your gidview row databound , the same code can be applied for commandfield Protected Sub gv_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles gv.RowDataBound For Each gvr As GridViewRow In gvmritems.Rows AddConfirmDelete(DirectCast(sender, GridView), e) Next End Sub Public Shared Sub AddConfirmDelete(ByVal gv As GridView, ByVal e As GridViewRowEventArgs) If e.Row.RowType = DataControlRowType.DataRow Then For Each
  • Re: 100% height not working in IE8

    this is already answered in prev posts, still try this : <style type="text/css"> body { overflow-y:auto; overflow-x : hidden; position:relative; height: 100%; margin:0 ; padding :0;} .dvstyle { position:fixed; top:0; bottom:0; border: solid 1px black; width:99%; height:99%; } *html .dvstyle { position:absolute;top:0;bottom:0; } </style> </head> <body> <form id="form1" runat="server"> <div class="dvstyle"> <table> <tr>
  • Re: Hide Print & Close button in Printing

    Hi, there is no need to use style sheet here for just hiding print/ close iamge / button. see this: <script type="text/javascript"> function printMe() { document.getElementById("imgprint").style.visibility='hidden'; window.print(); document.getElementById("printed").value = "YES"; document.getElementById("form1").submit(); } </script> -----------------------in your page print button will be there as <img src="~/ images
  • Re: How do you keep div tags in position?

    You can try following, for your requirement , you should give width and height od div tags in % instead of px , <div class="main"> <div class="headertool"> </div> <div id="Nav" class="Nav"> </div> <div class="contentbody"> <table style="width: 100%; height: 100%; float: left;"> <tr> <td style="width: 20%;" valign="top"> <asp:ContentPlaceHolder ID="ContentPlaceHolder1"
  • Re: Display Confirmation pop up window on Page Load

    I can't understand your requirement, do you want to proceed only if user confirms yes or you want to display some information to user on page load???... If user click on yes, do you have some functions to be done or captured??? still try this javascript in your page: <script type="text/javascript"> window.onload = s(); function s() { return confirm("This version is valid"); } </script> -------------- on return confirm you can capture user's response and on
Page 1 of 10 (94 items) 1 2 3 4 5 Next > ... Last »