Click here to Skip to main content
15,919,613 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Debug asp.net application in Visual Studio.NET 2003 Pin
Brij6-Jan-09 17:47
mentorBrij6-Jan-09 17:47 
GeneralRe: Debug asp.net application in Visual Studio.NET 2003 Pin
Abhijit Jana6-Jan-09 17:51
professionalAbhijit Jana6-Jan-09 17:51 
GeneralRe: Debug asp.net application in Visual Studio.NET 2003 Pin
AndieDu6-Jan-09 18:07
AndieDu6-Jan-09 18:07 
AnswerRe: Debug asp.net application in Visual Studio.NET 2003 Pin
Aman Bhullar6-Jan-09 20:23
Aman Bhullar6-Jan-09 20:23 
GeneralRe: Debug asp.net application in Visual Studio.NET 2003 Pin
AndieDu7-Jan-09 12:27
AndieDu7-Jan-09 12:27 
Questioncontrol cannot be validated Pin
bfis1081376-Jan-09 7:17
bfis1081376-Jan-09 7:17 
AnswerRe: control cannot be validated Pin
ToddHileHoffer6-Jan-09 7:22
ToddHileHoffer6-Jan-09 7:22 
GeneralRe: control cannot be validated Pin
bfis1081376-Jan-09 9:08
bfis1081376-Jan-09 9:08 
Ok so I did that but now it doesn't validate it. That is to say if the number is too high, it still goes through. Here is my code.



<asp:gridview id="GridView1" runat="server" onselectedindexchanged="GridView1_SelectedIndexChanged" width="591px" xmlns:asp="#unknown">
            
            <selectedrowstyle backcolor="Blue" />
            <columns>
                <asp:templatefield>
                    <headertemplate>
                        Amount Ordered
                    </headertemplate>
                    <itemtemplate>
                        <asp:comparevalidator id="CompareValidator1" runat="server" controltovalidate="amount">
                            ErrorMessage="Must be an integer" Operator="DataTypeCheck" Type="Integer"></asp:comparevalidator>
                        <asp:comparevalidator id="CompareValidator2" runat="server" controltocompare="inStock">
                            ControlToValidate="amount" ErrorMessage="Amount ordered  is more than is available."
                            Operator="GreaterThan" Type="Integer" ValueToCompare="inStock"></asp:comparevalidator>
                        <asp:textbox id="amount" runat="server"></asp:textbox> 
                        <asp:textbox id="inStock" runat="server" visible="False" width="1px"></asp:textbox>
                    </itemtemplate>
                </asp:templatefield>
                <asp:templatefield>
                    <itemtemplate>
                         
                        <asp:textbox id="TextBox1" runat="server"></asp:textbox>
                    </itemtemplate>
                </asp:templatefield>
            </columns>
        </asp:gridview>

GeneralRe: control cannot be validated Pin
ToddHileHoffer6-Jan-09 9:14
ToddHileHoffer6-Jan-09 9:14 
Questionhelp plz Pin
ashrafhakami6-Jan-09 5:01
ashrafhakami6-Jan-09 5:01 
AnswerRe: help plz Pin
Aman Bhullar6-Jan-09 5:12
Aman Bhullar6-Jan-09 5:12 
AnswerRe: help plz Pin
leckey6-Jan-09 6:49
leckey6-Jan-09 6:49 
GeneralRe: help plz Pin
AndieDu6-Jan-09 18:08
AndieDu6-Jan-09 18:08 
AnswerRe: help plz Pin
AndieDu6-Jan-09 17:28
AndieDu6-Jan-09 17:28 
Questionkeep the thread running even after the page is closed Pin
TerRO_GirL6-Jan-09 4:09
TerRO_GirL6-Jan-09 4:09 
AnswerRe: keep the thread running even after the page is closed Pin
MarcelloTurnbull6-Jan-09 4:54
MarcelloTurnbull6-Jan-09 4:54 
AnswerRe: keep the thread running even after the page is closed Pin
moon_stick6-Jan-09 5:58
moon_stick6-Jan-09 5:58 
GeneralRe: keep the thread running even after the page is closed Pin
TerRO_GirL6-Jan-09 6:19
TerRO_GirL6-Jan-09 6:19 
GeneralRe: keep the thread running even after the page is closed Pin
MarcelloTurnbull6-Jan-09 8:03
MarcelloTurnbull6-Jan-09 8:03 
GeneralRe: keep the thread running even after the page is closed Pin
TerRO_GirL6-Jan-09 8:06
TerRO_GirL6-Jan-09 8:06 
GeneralRe: keep the thread running even after the page is closed Pin
MarcelloTurnbull6-Jan-09 8:10
MarcelloTurnbull6-Jan-09 8:10 
GeneralRe: keep the thread running even after the page is closed Pin
TerRO_GirL6-Jan-09 9:18
TerRO_GirL6-Jan-09 9:18 
GeneralRe: keep the thread running even after the page is closed Pin
N a v a n e e t h6-Jan-09 15:11
N a v a n e e t h6-Jan-09 15:11 
QuestionSession Timeout problem Pin
nour1236-Jan-09 3:27
nour1236-Jan-09 3:27 
AnswerRe: repost Pin
Brij6-Jan-09 3:43
mentorBrij6-Jan-09 3:43 

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.