Search

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

Matching Posts

  • MaskedEditExtender Shows Wrong Value

    I am trying to format a textbox so when the user enters numbers it should put a comma to separate digits (i.e. 999,999) My code is working fine when the user enters vlaues in the text box, but when reload the page it shows wrong number. For example the user input = 3626 the on reload it shows 300,000 My code is as follows: <asp:TextBox ID="txtHeight" runat="server" MaxLength="7" Width="125px" ></asp:TextBox> <cc1:MaskedEditExtender ID="meeHeight"
    Posted to Getting Started (Forum) by fariborz on 11/19/2009
    Filed under: .Net 2.0, AJAX ASP.NET
  • Re: Enabling CheckBox in RowEditing Event

    Hi, When I use checkbox field, I am getting this error: "The data in the CheckBoxField 'EFIS_issue' could not be parsed as a boolean value." The field in the table is defined of type bit with no null values.
    Posted to Getting Started (Forum) by fariborz on 9/28/2009
  • Re: Enabling CheckBox in RowEditing Event

    Your code is not working for alternate rows. But after I modified it, it now works for all rows. If (e.Row.RowState = DataControlRowState.Edit) Or (e.Row.RowState = DataControlRowState.Alternate + DataControlRowState.Edit) Then cb = TryCast(e.Row.FindControl("chkEFIS"), CheckBox) end if Thanks
    Posted to Getting Started (Forum) by fariborz on 9/28/2009
  • Width of Columns of a Row in GridView

    The problem seemed to be resolved.
    Posted to Data Presentation Controls (Forum) by fariborz on 9/28/2009
  • Accessing BoundField of a GridView

    How can I access a BoundField of a GridView in code behind. I want to set the width of the field in edit mode because the default size is too small for the text entered by the user. Thanks in advance, Fariborz
    Posted to Data Presentation Controls (Forum) by fariborz on 9/28/2009
    Filed under: html, "asp.net 2.0" "visual studio"
  • Enabling CheckBox in RowEditing Event

    I have a checkbox as a column in a gridview with the default value as disabled. I am enabling this checkbox in RowEditing of the grid view. But then when row goes into edit mode, the checkbox becomes disabled again. I don't know which other event triggers and sets the checkbox back to disabled state.
    Posted to Getting Started (Forum) by fariborz on 9/25/2009
    Filed under: "asp.net 2.0" "visual studio"
  • Re: Enabling CheckBox in RowEditing Event

    This is my code: Protected Sub gvNAVMC_RowEditing(ByVal sender As Object, ByVal e As GridViewEditEventArgs) Dim row as GridViewRow = gvNAVMC.Rows(e.NewEditIndex) Dim cb As CheckBox = CType(row.FindControl("chkEFIS"), CheckBox) cb.Enabled = True gvNAVMC.EditIndex = e.NewEditIndex End Sub Where is that ("once u r done binding the grid.")?
    Posted to Getting Started (Forum) by fariborz on 9/25/2009
  • Server.MapPath Problem

    I am using Server.MapPath in my code on my local machine with Windows XP professional and Visual Studio 2005. MkDir(Server.MapPath("~/SessionFiles") + " \" + CStr(Session.SessionID)) But when I transfer the code to the Server which is Windows 2000 I have to remove the the "~" : MkDir(Server.MapPath("/SessionFiles") + " \" + CStr(Session.SessionID)) otherwise it is not working. Why is that?
    Posted to Web Forms (Forum) by fariborz on 9/15/2009
    Filed under: "asp.net 2.0" "visual studio", <asp.net>
  • Font Size of Tooltip

    How can I change the Font Size of Tooltip in ASP.NET 2.0, VB 2005.
    Posted to Getting Started (Forum) by fariborz on 8/4/2009
    Filed under: "asp.net 2.0" "visual studio"
  • RequiredFieldValidator is not validating

    I have a text box on the form and I check if it is empty before submitting. The confirmation window pops up but validator is not working in the case of empty text. This is my code. Any idea? Thanks for your help. <%@ Page Language="VB" AutoEventWireup="true" CodeFile="AcctRequest.aspx.vb" Inherits="AcctRequest" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace
    Posted to Web Forms (Forum) by fariborz on 7/2/2009
    Filed under: as.net 2.0
Page 1 of 2 (11 items) 1 2 Next >