Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
397 views

Hi,

i have 2 tab strip i.e general and participants and textboxes on both tabs.
need to put required field validation on both tabs for compulsory fields.
validation is working on first tab while clicking on save button but not of other tab.

 

<asp:RequiredFieldValidator ID="v4" ControlToValidate="txtMaxParticipantField" ErrorMessage="* Enter Max Participant number"

 

 

Display="None" InitialValue="Enter Max Participant number" runat="server"

 

 

 ValidationGroup="Trainingsave"></asp:RequiredFieldValidator>

all validation on general tabs textbox fields is firing on save button click but validation on participants tab textbox fields is not fired.


please help.

Yana
Telerik team
 answered on 20 Jul 2010
1 answer
366 views
hello
i need a panel same attached .
this panel used in www.telerik.com site.
i want users can  log in a log out in master page.
please help me.
thanks telerik supporter.
Mira
Telerik team
 answered on 20 Jul 2010
1 answer
148 views
Hi,
I have RadNumericTextBox in teplate field of RadGrid. There are many rows=many texboxes. Users will fill some number in numeric textbox and by pressing Tab I want to:
- save edited value from radnumerictextbox to database through AJAX call
- move to another row (=next RadNumericTextbox), edit value, press Tab etc...

I set for each RadNumericTextBox OnValueChanged client side event.  But after AJAX call radgrid refresh itself and RadNumericTextbox looses focus.  RadGrid is not  AJAXified. What do I have wrong? Thank you.

<telerik:RadNumericTextBox  ID="txtCounterValue" runat="server"  Width="80"
                                            MinValue="0" NumberFormat-AllowRounding="false" NumberFormat-DecimalDigits="0"
                                            EnabledStyle-HorizontalAlign="Right" EnabledStyle-Font-Bold="true"
                                            >
                                            <ClientEvents OnValueChanged="CounterValueChanged" />
                                        </telerik:RadNumericTextBox>

and javascript:
function CounterValueChanged(sender, args) {
                var allOK = true;
                var oldValue = args.get_oldValue();
                var newValue = args.get_newValue();
$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest('UpdateCounter')
      
           }
Tsvetoslav
Telerik team
 answered on 20 Jul 2010
1 answer
184 views
Is there a way client side to open a RadWindow and assign it's content to be a streamed PDF file?
Georgi Tunev
Telerik team
 answered on 20 Jul 2010
1 answer
136 views
Hello team,

I added some features to my website (right now, I am working on it locally, so I cannot refer you to the URL), and the ComboBox I had there, suddenly start to look bad.. an image is attached as you can see.

 I tried to play with the CSS file, but it didnt change, no meter what I did.

Please, if anyone know this issue, had it or something, I am kinda hopeless about it.

Thanks!
Yana
Telerik team
 answered on 20 Jul 2010
1 answer
121 views
Does anyone know how to do this? I looked through the docs and forums and could only find information on selecting the "first" item. The reason I need this is I have a certain item selected by handling the onclick event of the item within the <ItemTemplate>. However, after a postback I need to be able to reselect the item again. Any help or advise would be greatly appreciated! Thanks!
Rosen
Telerik team
 answered on 20 Jul 2010
1 answer
140 views
How do I get the count of rows in a grid programatically..
Also consider getting the count of items programatically for a detail grid with name set to "Detail"
Tsvetina
Telerik team
 answered on 20 Jul 2010
1 answer
109 views
Should be a really simple thing, and I've searched, but didn't come up with much. 

Just need to call the updated method on the AdvancedForm from another button.  I've tried:

Owner.UpdateAppointment(Appointment)

But this didn't seem to do anything good or bad.

Thanks
Peter
Telerik team
 answered on 20 Jul 2010
2 answers
266 views
I'm trying to have an application open a radWindow and then print the content inside it. For what I saw it looks like I need to acces the frame element of the radWindow to acheive this. My problem is when I use the method get_contentFrame() it always return null. I tought that I might be beacause the radWindow was not loaded so I tried to call the method from a button inside it but still have the return value null.

I have reproduce the problem a small application, so it is not a problem in my main project. Here is the code :
<%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp4._Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
 
        function btn_onclick() {
            var win = $find("<%= wndPrint.ClientID %>");
            win.set_modal(true);
            win.show();
            var frame = win.get_contentFrame();
            alert(frame);
        }
 
        function Button2_onclick() {
            var win = $find("<%= wndPrint.ClientID %>");
            var frame = win.get_contentFrame();
            alert(frame);
        }
 
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
  
    <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Office2007">
    </telerik:RadSkinManager>
    <div>
          <input id="btn" type="button" value="Print" onclick="return btn_onclick()" />
          <telerik:RadWindow ID="wndPrint" runat="server" Skin="Office2007">
            <ContentTemplate>
                <p> fvejsh ksad ksla gjkfhsdajkg hfskjd ahgkfhdasgkl fd</p><hr />
                <p>fdsi fdsjafkh ajkgfda ghfdkj shgjkfdshg fdkjsg hd</p>
                <input id="Button2" type="button" value="Print" onclick="return Button2_onclick()"/>
            </ContentTemplate>
        </telerik:RadWindow>
    </div>
     
    </form>
    </body>
</html>

Thank you for your time,
Sébastien
Sébastien
Top achievements
Rank 1
 answered on 20 Jul 2010
3 answers
370 views
Hi telerik team member,
I have been searching trought forum and over web for a example with no result. So here is my problem.
After refreshing page all the nodes in RadTreeview are collapsed, I need to manage treeview that selected node every refresh of page or postback is expanded in depth (for Client-side).
Thanks for any advice
Shinu
Top achievements
Rank 2
 answered on 20 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?