Click here to Skip to main content
15,896,727 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Regular expression for valid time format (hr:min:sec) entered by user in text box Pin
Paul Conrad11-Jul-08 15:00
professionalPaul Conrad11-Jul-08 15:00 
GeneralRe: Regular expression for valid time format (hr:min:sec) entered by user in text box Pin
For_IT13-Jul-08 13:03
For_IT13-Jul-08 13:03 
QuestionHow to edit FormView Templates in WYSIWYG mode? Pin
equalizer70011-Jul-08 5:24
equalizer70011-Jul-08 5:24 
AnswerRe: How to edit FormView Templates in WYSIWYG mode? Pin
Herman<T>.Instance14-Jul-08 20:04
Herman<T>.Instance14-Jul-08 20:04 
GeneralRe: How to edit FormView Templates in WYSIWYG mode? Pin
equalizer70015-Jul-08 4:01
equalizer70015-Jul-08 4:01 
GeneralRe: How to edit FormView Templates in WYSIWYG mode? Pin
Herman<T>.Instance15-Jul-08 5:20
Herman<T>.Instance15-Jul-08 5:20 
GeneralRe: How to edit FormView Templates in WYSIWYG mode? Pin
equalizer70015-Jul-08 7:08
equalizer70015-Jul-08 7:08 
GeneralRe: How to edit FormView Templates in WYSIWYG mode? Pin
Herman<T>.Instance15-Jul-08 7:35
Herman<T>.Instance15-Jul-08 7:35 
You might have code that looks like below?
<asp:FormView ID="FormView1" runat="server" DataKeyNames="au_id" DataSourceID="AuthorsSource">
    <EditItemTemplate>
        au_id: <asp:Label ID="au_idLabel1" runat="server" Text='<%# Eval("au_id") %>'/><br />
        au_lname: <asp:TextBox ID="au_lnameTextBox" runat="server" Text='<%# Bind("au_lname") %>'/><br />
        au_fname: <asp:TextBox ID="au_fnameTextBox" runat="server" Text='<%# Bind("au_fname") %>'/><br />
        phone: <asp:TextBox ID="phoneTextBox" runat="server" Text='<%# Bind("phone") %>'/><br />
        address: <asp:TextBox ID="addressTextBox" runat="server" Text='<%# Bind("address") %>'/><br />
        city: <asp:TextBox ID="cityTextBox" runat="server" Text='<%# Bind("city") %>'/><br />
        state: <asp:TextBox ID="stateTextBox" runat="server" Text='<%# Bind("state") %>'/><br />
        zip: <asp:TextBox ID="zipTextBox" runat="server" Text='<%# Bind("zip") %>'/><br />
        contract: <asp:CheckBox ID="contractCheckBox" runat="server" Checked='<%# Bind("contract") %>' /><br />
        <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
            Text="Update">
        </asp:LinkButton>
        <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" 
            CommandName="Cancel"  Text="Cancel">
        </asp:LinkButton>
    </EditItemTemplate>
    <InsertItemTemplate>
        au_id: <asp:TextBox ID="au_idTextBox" runat="server" Text='<%# Bind("au_id") %>'/><br />
        au_lname: <asp:TextBox ID="au_lnameTextBox" runat="server" Text='<%# Bind("au_lname") %>'/><br />
        au_fname: <asp:TextBox ID="au_fnameTextBox" runat="server" Text='<%# Bind("au_fname") %>'/><br />
        phone: <asp:TextBox ID="phoneTextBox" runat="server" Text='<%# Bind("phone") %>'/><br />
        address: <asp:TextBox ID="addressTextBox" runat="server" Text='<%# Bind("address") %>'/><br />
        city: <asp:TextBox ID="cityTextBox" runat="server" Text='<%# Bind("city") %>'/><br />
        state: <asp:TextBox ID="stateTextBox" runat="server" Text='<%# Bind("state") %>'/><br />
        zip: <asp:TextBox ID="zipTextBox" runat="server" Text='<%# Bind("zip") %>'/><br />
        contract: <asp:CheckBox ID="contractCheckBox" runat="server" Checked='<%# Bind("contract") %>' /><br />
        <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert"
            Text="Insert">
        </asp:LinkButton>
        <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" 
            CommandName="Cancel" Text="Cancel">
        </asp:LinkButton>
    </InsertItemTemplate>
    <ItemTemplate>
        au_id: <asp:Label ID="au_idLabel" runat="server" Text='<%# Eval("au_id") %>'/><br />
        au_lname: <asp:Label ID="au_lnameLabel" runat="server" Text='<%# Bind("au_lname") %>'/><br />
        au_fname: <asp:Label ID="au_fnameLabel" runat="server" Text='<%# Bind("au_fname") %>'/><br />
        phone: <asp:Label ID="phoneLabel" runat="server" Text='<%# Bind("phone") %>'/><br />
        address: <asp:Label ID="addressLabel" runat="server" Text='<%# Bind("address") %>'/><br />
        city: <asp:Label ID="cityLabel" runat="server" Text='<%# Bind("city") %>'/><br />
        state: <asp:Label ID="stateLabel" runat="server" Text='<%# Bind("state") %>'/><br />
        zip: <asp:Label ID="zipLabel" runat="server" Text='<%# Bind("zip") %>'/><br />
        contract: <asp:CheckBox ID="contractLabel" runat="server" Checked='<%# Bind("contract") %>'
            Enabled="false" /><br />
    </ItemTemplate>
        </asp:FormView>

Each control, like Label or Checkbox have WIDTH properties. What changes for you if you set these ?
GeneralRe: How to edit FormView Templates in WYSIWYG mode? Pin
equalizer70015-Jul-08 7:58
equalizer70015-Jul-08 7:58 
GeneralRe: How to edit FormView Templates in WYSIWYG mode? Pin
Herman<T>.Instance16-Jul-08 1:38
Herman<T>.Instance16-Jul-08 1:38 
GeneralRe: How to edit FormView Templates in WYSIWYG mode? Pin
equalizer70016-Jul-08 2:12
equalizer70016-Jul-08 2:12 
QuestionDate datatype of Java and DateTime datatype of .Net mismatch, please help Pin
indian14311-Jul-08 4:55
indian14311-Jul-08 4:55 
AnswerRe: Date datatype of Java and DateTime datatype of .Net mismatch, please help Pin
Paul Conrad11-Jul-08 10:02
professionalPaul Conrad11-Jul-08 10:02 
QuestionSetting FormView mode without GridView Pin
equalizer70011-Jul-08 4:54
equalizer70011-Jul-08 4:54 
Questionsession Pin
trilokharry11-Jul-08 4:24
trilokharry11-Jul-08 4:24 
AnswerRe: session Pin
Parwej Ahamad11-Jul-08 6:11
professionalParwej Ahamad11-Jul-08 6:11 
QuestionBasic Authentication in Web Service Pin
kc_krishnan11-Jul-08 3:48
kc_krishnan11-Jul-08 3:48 
Questionupdate row in gridview Pin
eyeseetee11-Jul-08 2:30
eyeseetee11-Jul-08 2:30 
AnswerRe: update row in gridview Pin
Sherin Iranimose11-Jul-08 4:32
Sherin Iranimose11-Jul-08 4:32 
GeneralRe: update row in gridview Pin
eyeseetee11-Jul-08 4:41
eyeseetee11-Jul-08 4:41 
GeneralRe: update row in gridview Pin
Sherin Iranimose11-Jul-08 4:52
Sherin Iranimose11-Jul-08 4:52 
GeneralRe: update row in gridview Pin
eyeseetee11-Jul-08 5:05
eyeseetee11-Jul-08 5:05 
GeneralRe: update row in gridview Pin
Sherin Iranimose11-Jul-08 5:10
Sherin Iranimose11-Jul-08 5:10 
GeneralRe: update row in gridview Pin
Sherin Iranimose11-Jul-08 6:13
Sherin Iranimose11-Jul-08 6:13 
GeneralRe: update row in gridview Pin
Herman<T>.Instance16-Jul-08 1:50
Herman<T>.Instance16-Jul-08 1:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.