Click here to Skip to main content
15,895,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Add rich text box into web application Pin
acroitoriu22-Oct-08 4:20
acroitoriu22-Oct-08 4:20 
QuestionHi all i have a seriou problem plz help me Pin
Member 312887422-Oct-08 3:47
Member 312887422-Oct-08 3:47 
AnswerRe: Hi all i have a seriou problem plz help me Pin
Abhijit Jana22-Oct-08 3:52
professionalAbhijit Jana22-Oct-08 3:52 
AnswerRe: Hi all i have a seriou problem plz help me Pin
Ashfield22-Oct-08 4:15
Ashfield22-Oct-08 4:15 
QuestionUrgent i have a serious problem plz help me Pin
Member 312887422-Oct-08 3:41
Member 312887422-Oct-08 3:41 
AnswerRe: Urgent i have a serious problem plz help me Pin
leckey22-Oct-08 7:24
leckey22-Oct-08 7:24 
QuestionProblem with gridview RowUpdating event Pin
acroitoriu22-Oct-08 3:12
acroitoriu22-Oct-08 3:12 
QuestionRequired Field Validator in GridView Pin
.NET- India 22-Oct-08 2:59
.NET- India 22-Oct-08 2:59 
Hello Friends,

I want to validate textbox of a GridView using the RequiredFieldValidator

So for it i'm using the following code but it's not working fine. As i click on the update button it show the error for a while but do a postback but it should not do any postback and should validate as well.......

Here i'm giving a bit of code below Please let me know the problem i'm creating


<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="ElearningDataGridBody"
DataKeyNames="ID" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowEditing="GridView1_RowEditing"
OnRowUpdating="GridView1_RowUpdating" Width="100%" OnRowDeleting="GridView1_RowDeleting">
<Columns>
<asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:TemplateField HeaderText="Category Name">
<EditItemTemplate>
<asp:TextBox ID="TextBox_CategoryName" runat="server" Text='<%# Bind("CategoryName") %>'></asp:TextBox>
<asp:RequiredFieldValidator ID="required_CategoryName" ErrorMessage="Please Enter Category Name Edit" ForeColor="red" ControlToValidate="TextBox_CategoryName" runat="server">*</asp:RequiredFieldValidator>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("CategoryName") %>'></asp:Label>
</ItemTemplate>
QuestionHow to send email from asp.net 2.0 Page help is needed with configuration of SMTP Server Pin
Rameez Raja22-Oct-08 2:08
Rameez Raja22-Oct-08 2:08 
AnswerRe: How to send email from asp.net 2.0 Page help is needed with configuration of SMTP Server Pin
eyeseetee22-Oct-08 2:38
eyeseetee22-Oct-08 2:38 
QuestionStrange JavaScript Pin
Atul Kharecha22-Oct-08 2:00
Atul Kharecha22-Oct-08 2:00 
AnswerRe: Strange JavaScript Pin
NeverHeardOfMe22-Oct-08 2:13
NeverHeardOfMe22-Oct-08 2:13 
GeneralRe: Strange JavaScript Pin
Atul Kharecha22-Oct-08 2:21
Atul Kharecha22-Oct-08 2:21 
QuestionHow can You trap a request come from another website to your website in ASP.net Pin
gautamamit822-Oct-08 1:40
gautamamit822-Oct-08 1:40 
AnswerRe: How can You trap a request come from another website to your website in ASP.net Pin
N a v a n e e t h22-Oct-08 1:59
N a v a n e e t h22-Oct-08 1:59 
Questionthrows an error that the cursor already exists: How to sholve this problem Pin
Member 465900122-Oct-08 1:39
Member 465900122-Oct-08 1:39 
AnswerRe: throws an error that the cursor already exists: How to sholve this problem Pin
N a v a n e e t h22-Oct-08 2:01
N a v a n e e t h22-Oct-08 2:01 
GeneralRe: throws an error that the cursor already exists: How to sholve this problem Pin
Member 465900122-Oct-08 2:14
Member 465900122-Oct-08 2:14 
GeneralRe: throws an error that the cursor already exists: How to sholve this problem Pin
Member 465900122-Oct-08 2:15
Member 465900122-Oct-08 2:15 
GeneralRe: throws an error that the cursor already exists: How to sholve this problem Pin
eyeseetee22-Oct-08 2:37
eyeseetee22-Oct-08 2:37 
AnswerRe: throws an error that the cursor already exists: How to sholve this problem Pin
Paddy Boyd22-Oct-08 2:17
Paddy Boyd22-Oct-08 2:17 
GeneralRe: throws an error that the cursor already exists: How to sholve this problem Pin
Member 465900122-Oct-08 2:34
Member 465900122-Oct-08 2:34 
GeneralRe: throws an error that the cursor already exists: How to sholve this problem Pin
Ashfield22-Oct-08 3:14
Ashfield22-Oct-08 3:14 
QuestionCreating a .txt file in a web form (Urgent) Pin
srinivaskonijeti22-Oct-08 0:13
srinivaskonijeti22-Oct-08 0:13 
AnswerRe: Creating a .txt file in a web form (Urgent) Pin
Shyam Bharath22-Oct-08 0:28
Shyam Bharath22-Oct-08 0:28 

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.