In Multipage RadPageView control I use server validation. When I set button's property to 'causesvalidation=true'
, events are not fired anymore. When I turn validation off, event is firing on click. How I can resolve this issue?
I forgot to mention that this is happening on second page. With first page everything is fine. I use multiple pages for tabstrip.
| <telerik:RadPageView runat="server" ID="CMPageView" Width="460px"> | |
| <div class="viewWraptabs tabposition arial"> | |
| <p class="red">Date: <%=DateTime.Now.ToShortDateString() %></p> | |
| <uc2:ssncontrol id="ssn" runat="server" controlposition="16,65" tbwidth="155px"/> | |
| <asp:requiredvalidator id="rvdob" runat="server" controltovalidate=="RadDatePicker1" errormessage="dob is required"/> | |
| <span class="positionT arial">Date of Birth*: </span> | |
| <telerik:raddatepicker id="RadDatePicker1" runat="server" skin="Black" cssclass="positionTD" width="130px" calendar-rangemindate="1/1/1940 12:00:00 AM" mindate="1/1/1940 12:00:00 AM" dateinput-mindate="1/1/1940 12:00:00 AM" /> | |
| <span class="positionS arial">Have you ever had an accident:<span class="space80"></span> <asp:checkbox id="cbacc" runat="server"/></span> | |
| <span class="positionSD arial">Have you ever been charged<br /> with a violation?<span class="space50"></span><asp:checkbox id="cbv" runat="server"/></span> | |
| <textarea id="taacc" cols="30" rows="5" class="positionF" runat="server" validateemptytext="true" validationgroup="mmm"></textarea> | |
| <textarea id="taviol" cols="30" rows="5" class="positionFD" runat="server"></textarea> | |
| <div style="background: url(Img/bg.gif) no-repeat; width: 600px; height: 362px; padding-top: 24px; | |
| text-align: center;position:absolute;left:150px;top:290px"> | |
| <asp:Button Text="Add Member Info" OnClick="AddMemberInfo_Click" runat="server" ID="bmember" | |
| Style="width: 116px;" causesvalidation="true" usesubmitbehavior="true"></asp:Button> | |
| <asp:Button Text="Cancel" runat="server" ID="bcancel" causesvalidation="false" | |
| Style="width: 116px;"></asp:Button> | |
</div> ...etc...
|
|
I forgot to mention that this is happening on second page. With first page everything is fine. I use multiple pages for tabstrip.