Click here to Skip to main content
15,902,923 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionViewState and Enabled property in a textb Pin
allende18-Sep-08 8:42
allende18-Sep-08 8:42 
AnswerRe: ViewState and Enabled property in a textb Pin
Sandeep Akhare18-Sep-08 19:47
Sandeep Akhare18-Sep-08 19:47 
QuestionSet the connectionString for the sessionState element in web.config Pin
AlexeiXX318-Sep-08 7:57
AlexeiXX318-Sep-08 7:57 
Questionautosuggest textboxes Pin
enthusiastic47718-Sep-08 7:09
enthusiastic47718-Sep-08 7:09 
AnswerRe: autosuggest textboxes Pin
N a v a n e e t h18-Sep-08 7:16
N a v a n e e t h18-Sep-08 7:16 
Questionmvc preview - how can I validate which release I am using? Pin
Member 391904918-Sep-08 7:05
Member 391904918-Sep-08 7:05 
QuestionUsing AD to authenticate user on a website Pin
mlbrown18-Sep-08 6:42
mlbrown18-Sep-08 6:42 
QuestionProblems using DetailsView Pin
RJLuppino18-Sep-08 6:01
RJLuppino18-Sep-08 6:01 
I am designing an admin page to insert/edit information into a MS-SQL database. When I enter my page in 'edit mode' my DetailsView layout is fine and my TextBoxes are about 80%. When I enter in 'insert mode' however, my layout is not so nice, the TextBoxes shrink down to about 20%. I have been searching for a way to fix this and nothing is working. I have a feeling this is a very easy fix and I am just missing it. I would appreciate any help I could get on this, thanks in advance. I have included a portion of the code, I tried to keep it as small as possibe and still show enough information. Again thanks in advance. Smile | :)
<pre>
<asp:DetailsView ID="detailsCatagory" runat="server" Height="50px" Width="750px" AutoGenerateRows="False" DataSourceID="ObjectDataSource1" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" AutoGenerateInsertButton="True" DataKeyNames="ID" DefaultMode="Insert"
HeaderText="Catagory Details" OnModeChanged="detailsCatagory_ModeChanged">
<Fields>
<asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True" SortExpression="ID"></asp:BoundField>
<asp:BoundField DataField="AddedDate" DataFormatString="{0: d}" HeaderText="AddedDate" InsertVisible="False" ReadOnly="True" SortExpression="AddedDate"></asp:BoundField>
<asp:BoundField DataField="AddedBy" HeaderText="AddedBy" InsertVisible="False" ReadOnly="True" SortExpression="AddedBy"></asp:BoundField>
<asp:TemplateField HeaderText="Title" SortExpression="Title">
<EditItemTemplate>
<asp:TextBox ID="textTitle" runat="server" Text='<%# Bind("Title") >' MaxLength="256" Width="99%"></asp:TextBox>
</EditItemTemplate>
<InsertItemTemplate>
<asp:TextBox ID="textTitle" runat="server" Text='&lt;%# Bind("Title") %>' MaxLength="256" Width="99%"></asp:TextBox>
</InsertItemTemplate>
<ItemTemplate>
<asp:Label ID="labelTitle" runat="server" Text='<%# Bind("Title") %>'></asp:Label>
</ItemTemplate>
<;/asp:TemplateField>
</pre>
QuestionRuntime error and compile time error? Pin
Aslesh18-Sep-08 5:44
Aslesh18-Sep-08 5:44 
AnswerRe: Runtime error and compile time error? Pin
Paul Conrad18-Sep-08 6:00
professionalPaul Conrad18-Sep-08 6:00 
GeneralRe: Runtime error and compile time error? Pin
Aslesh18-Sep-08 6:04
Aslesh18-Sep-08 6:04 
GeneralRe: Runtime error and compile time error? Pin
Paul Conrad18-Sep-08 6:07
professionalPaul Conrad18-Sep-08 6:07 
GeneralRe: Runtime error and compile time error? Pin
Aslesh18-Sep-08 6:09
Aslesh18-Sep-08 6:09 
GeneralRe: Runtime error and compile time error? Pin
Aslesh18-Sep-08 7:11
Aslesh18-Sep-08 7:11 
GeneralRe: Runtime error and compile time error? Pin
Paul Conrad18-Sep-08 10:11
professionalPaul Conrad18-Sep-08 10:11 
Questionımagebutton focus problem Pin
enginakkoca118-Sep-08 4:50
enginakkoca118-Sep-08 4:50 
Questionautomatically select tree node Pin
NikoTanghe18-Sep-08 4:07
NikoTanghe18-Sep-08 4:07 
AnswerRe: automatically select tree node Pin
eyeseetee18-Sep-08 4:32
eyeseetee18-Sep-08 4:32 
GeneralRe: automatically select tree node Pin
NikoTanghe19-Sep-08 1:05
NikoTanghe19-Sep-08 1:05 
QuestionCalling server side method through java script Pin
alok_2k318-Sep-08 3:13
alok_2k318-Sep-08 3:13 
AnswerRe: Calling server side method through java script Pin
eyeseetee18-Sep-08 3:50
eyeseetee18-Sep-08 3:50 
AnswerRe: Calling server side method through java script Pin
NikoTanghe18-Sep-08 4:20
NikoTanghe18-Sep-08 4:20 
QuestionTrying convert Gridview As Image. Error : System.ArgumentException Pin
K V Sekhar18-Sep-08 2:59
K V Sekhar18-Sep-08 2:59 
AnswerRe: Trying convert Gridview As Image. Error : System.ArgumentException Pin
J4amieC18-Sep-08 3:34
J4amieC18-Sep-08 3:34 
GeneralRe: Trying convert Gridview As Image. Error : System.ArgumentException Pin
K V Sekhar18-Sep-08 3:37
K V Sekhar18-Sep-08 3:37 

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.