Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
491 views
Hi

On most of our system's pages we have input controls with required field validators for a few of the controls and the validators work just fine.

Now, under certain conditions, for example based on user permissions, some of these input controls can be rendered as readonly.
In such situations we would like the validator (at least the clientside validator) to not fire if the control is empty but readonly.

Whats the best way to achieve the above in a centralized code? 
FYI - In the past we have used other third party controls in which the validator automatically skipped the client side validation if the control was readonly or disabled. Does telerik have a way to achieve the same behavior?

Thanks
mqs
Vasil
Telerik team
 answered on 06 May 2013
2 answers
156 views
Hi,
The Css styles are not apply for Radcontrols in IE.if i put 2 grid controls the Css styles are applied perfectly.but if i add more than two grid, css styles are not apply for other grids except first two grid.


To solve this i have searched in a lots of forum.

some experts told to add a stylesheetmanager to Combine the stylesheet requests into a single request.
because of IE have some limitation to add more than 31 cssfile.

After adding the stylesheetmanager  i am getting the same issue.
Please help me to solve this issue.

Thanks.
Sivakumar
Top achievements
Rank 1
 answered on 06 May 2013
1 answer
88 views
I am finally starting to use the telerik ajax panels instead of asp.  I noticed that they took out the image per one article i found after qtr 2009 and so I am trying to load an updater image into the panels so people can see something is happening but i cant find where to load it.  I loaded backimages but this changes the whole background and not an image updater.  Where do i change this??

<telerik:RadAjaxLoadingPanel ID="RadLoadPanel" runat="server" Direction="RightToLeft" BackgroundPosition="Center"></telerik:RadAjaxLoadingPanel>
       <telerik:RadAjaxPanel ID="radUpdate" runat="server" LoadingPanelID="RadLoadPanel"  >
             <table class="RecruiterGrid">
                 <tr>
                     <td>
                         <telerik:RadComboBox ID="ddlRadTeam" runat="server" Width="120px" BackColor="White" ForeColor="Black" EmptyMessage="Pick Region" WebServiceSettings-Method="test"></telerik:RadComboBox>
                         <telerik:RadGrid ID="myRadGrid" runat="server" Width="100%" Skin="Web20">


Eyup
Telerik team
 answered on 06 May 2013
1 answer
69 views
Hi,

I have a business case in which i need to show custom vertical menu in fieldeditors.

ex: http://www.javascriptkit.com/script/script2/verticalmenu.shtml

The menu might go to n number of levels. The above example only has 2 levels.
And the item that user selects from the menu, will have date, numeric or plain text filelds for data entry.

Can this be done using telerik RadFilter?

Thanks
Eyup
Telerik team
 answered on 06 May 2013
3 answers
76 views
Hi all is there a possibility in a automatic created Edit/New Record form to disable some fields??

Best regards
Shinu
Top achievements
Rank 2
 answered on 06 May 2013
9 answers
350 views
I am using Jquery validation (http://docs.jquery.com/Plugins/Validation) on my site, but i can't make it validate my RadCombobox's. Could you show me how that can be done?

Thanks in advance!
Princy
Top achievements
Rank 2
 answered on 06 May 2013
2 answers
241 views
Hello.

When I put RadAsyncUpload inside div which will be used as popup for fancyBox or blockUi (jQuery plugin) after postback FileUploaded handler is not invoked. UploadedFiles collection is empty, although I see uploaded file in temp directory. OnClientFileUploaded is called properly. (case one and two)
When I put identical control on a page (outside popup) everything works fine. (case three)

I use ASP.NET 4.0, Telerik.Controls 2012.3.1308.45, fancyBox 2.0.4, blockUI (2.59.0), jQuery 1.8.2.
Same behaviour appears in Firefox 20.0.1, Chrome 23, IE10.

<h3>Async upload cases:</h3>
<ol class="round">
    <li class="one">
        <h5>FancyBox</h5>
        <input type="button" value="Open" onclick="showFancyBox();"/>
    </li>
    <li class="two">
        <h5>BlockUI</h5>
        <input type="button" value="Open" onclick="showBlockUI();"/>
    </li>
    <li class="three">
        <h5>Direct</h5>
        <telerik:RadAsyncUpload ID="AsyncUpload3" InputSize="15" runat="server" DisableChunkUpload="true" MaxFileInputsCount="1" OnFileUploaded="HandleFileUploaded"
                OnClientFileUploaded="HandleClientFileUploaded">
            <FileFilters>
                <telerik:FileFilter Description="Images(jpeg;jpg;gif;png)" Extensions="jpeg,jpg,gif,png" />
            </FileFilters>
        </telerik:RadAsyncUpload>
        <br />
        <input value="Upload"  type="button" onclick="__doPostBack();" />
    </li>
</ol>
 
<div style="display: none;">
    <div id="Popup1" style="border: 4px solid blue; background: grey; width: 400px; height: 100px;">
        <telerik:RadAsyncUpload ID="AsyncUpload1" InputSize="15" runat="server" DisableChunkUpload="true" MaxFileInputsCount="1" OnFileUploaded="HandleFileUploaded"
                OnClientFileUploaded="HandleClientFileUploaded">
            <FileFilters>
                <telerik:FileFilter Description="Images(jpeg;jpg;gif;png)" Extensions="jpeg,jpg,gif,png" />
            </FileFilters>
        </telerik:RadAsyncUpload>
        <input value="Upload" type="button" onclick="__doPostBack();" />
    </div>
</div>
 
<div id="Popup2" style="display: none; border: 4px solid blue; background: grey; width: 400px; height: 100px;">
    <telerik:RadAsyncUpload ID="AsyncUpload2" InputSize="15" runat="server" DisableChunkUpload="true" MaxFileInputsCount="1" OnFileUploaded="HandleFileUploaded"
            OnClientFileUploaded="HandleClientFileUploaded">
        <FileFilters>
            <telerik:FileFilter Description="Images(jpeg;jpg;gif;png)" Extensions="jpeg,jpg,gif,png" />
        </FileFilters>
    </telerik:RadAsyncUpload>
    <input value="Upload"  type="button" onclick="__doPostBack();" />
</div>

<script type="text/javascript">
    function HandleClientFileUploaded(sender, e) {
        console.log("File uploaded: ", e.get_fileName());
    }
     
    function showBlockUI() {
        $.blockUI({
            message: $('#Popup2'),
            css: {
                cursor: null,
                border: 'none',
                width: '10px',
                height: '10px',
                top: ($(window).height() - $('#Popup2').height()) / 2 + 'px',
                left: ($(window).width() - $('#Popup2').width()) / 2 + 'px'
            },
            overlayCSS: { cursor: null },
            focusInput: false
        });
    }
 
    function showFancyBox() {
        $.fancybox({
            type: 'inline',
            content: $('#Popup1')
        });
    }
</script>

Any idea?
Martin
Top achievements
Rank 1
 answered on 06 May 2013
4 answers
447 views
Hi
I have a radwindow with some textboxes. user can edit thextboxes values. when the user close the window, I want to clear all textboxes values.
how can I do that.
Somy
Top achievements
Rank 1
 answered on 06 May 2013
14 answers
474 views
Hi,

I am working on RadScheduler and we need 15 min interval in the starttime and end time when creating new Appointment.
by default it is 30 min.
1.) Is it possible to change this? If yes how?
2.) Also, I have a custom resources that can be selected in the drop down below. Is it possible to put a deafult resource when user enters this screen?

Pls see the attached file.

Thanks In Advance.
Plamen
Telerik team
 answered on 06 May 2013
9 answers
298 views
Trying to use a radcombobox with the built in checkboxes=true functionality with EnableCheckAllItems = True. Check all/none not working when using my own ItemTemplate: is this functionality not supported?
<telerik:RadComboBox ID="ddlReports" runat="server" Width="95%" DataSourceID="DSAvailReports"
                            DataTextField="ReportName" DataValueField="Value" CheckBoxes="True" EnableCheckAllItemsCheckBox="True"
                            ValidationGroup="assign">
                            <ItemTemplate>
                                <div class="ddlItem">
                                    <%#Eval("ReportName") %><br />
                                    <asp:Label ID="Label2" runat="server" Text="Category (If Available): " Width="160px"></asp:Label>
                                    <telerik:RadComboBox ID="ddlCategory" runat="server" Width="190px">
                                    </telerik:RadComboBox>
                                    <br />
                                    <asp:Label ID="Label3" runat="server" Text="Physician Grp (If Available): " Width="160px"></asp:Label>
                                    <telerik:RadComboBox ID="ddlPhysGrp" runat="server"  Width="190px">
                                    </telerik:RadComboBox>
                                </div>
                            </ItemTemplate>
                        </telerik:RadComboBox>
Thx
Scott
Rev
Top achievements
Rank 1
 answered on 06 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?