Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
543 views
Hi,

Is there any way to configure the control to only allow to select one single item? I.e. when selecting one item, deselecting the rest of them? 

If not, which would be the best way?

Thanks
Princy
Top achievements
Rank 2
 answered on 20 Nov 2013
3 answers
136 views

Hello Sir,

I have two issues in the drag and drop functionality between two treeviews.
The drag and drop is going very smooth as long as I want drag and drop small number of nodes between the two treeviews ( for examples 10 nodes , some hunderts nodes or even few thousands nodes ).

Issue 1 :
When I try to drag and drop for more than few thousands of nodes between the two treeviews, I got the error which say (Maximum request length exceed).

Issue 2:
When I drag and drop really huge number of nodes like ( 300000 nodes for example ) , usually the error is ( not enough memroy or out of memroy)

So please advise me what can I do in both cases because these cases are valid scenarios in my application.

I will be waiting for your reply.

Regards,
A.Abbas 

Boyan Dimitrov
Telerik team
 answered on 20 Nov 2013
1 answer
368 views
HI Telerik

I am getting an error from the web page when I try to play a mp4 media file in IE9 browser. The error is The video could not be loaded, either because the server or network failed or because the format is not supported.  On researching i found that .mp4 extension works fine in IE browser and I am using ASP development server which is also running well.

Any idea regarding this?
Ben
Shinu
Top achievements
Rank 2
 answered on 20 Nov 2013
1 answer
266 views
I am trying to display an ajax loading panel over an html div element. Below is the code I tried.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="btnFetchcode">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="div1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Web20">
        </telerik:RadAjaxLoadingPanel>
        <div id="div1" style="width: 400px; height: 200px; border: 1px solid Blue;">
            <asp:Label ID="Label3" runat="server" Text="Grab Now"></asp:Label>
            <telerik:RadTextBox runat="server" ID="txtCode" ReadOnly="true" />
            <br/><br/>
        </div>
        <br />
        <telerik:RadButton ID="btnFetchcode" runat="server" Text="Get Code" OnClick="btnFetchcode_Click">
        </telerik:RadButton>

There is no full page post back but the loading panel is not displayed over the div. Can't I use ajax loading panel over html elements such as div?
Shinu
Top achievements
Rank 2
 answered on 20 Nov 2013
1 answer
295 views
Hello...

I have a Radgrid inside user control & I want to find it from aspx page server side. I have written the following code for it but shows me error $find()...is null....

Can anyone please help me asap?

Usercontrol.ascx

function RadGridRow() {
     return $find("<%=RGOrders.ClientID %>").get_masterTableView().get_dataItems();
}

Page.aspx

function abc() {
     var RgOrders = RadGridRow();
}

Please note that I am calling the function abc() from server-side (code - behind). From client side, this function is working fine

Page.aspx.cs

string strscript = "abc();";
ScriptManager.RegisterStartupScript(pnl, pnl.GetType(), "ShowMessage" + DateTime.Now.ToLongTimeString(), strScript, true);
Shinu
Top achievements
Rank 2
 answered on 20 Nov 2013
2 answers
146 views
In the last 3 months the image and document manager controls on the radeditor are not displaying correctly. We are using Q1 2013. I have tried various browsers and skins. 

Any advice would be much appreciated. 


 <telerik:RadEditor ID="edtContent" AutoResizeHeight="True" runat="server" Width="100%" Skin="Simple" Visible="False"  BackColor="White">
        <Tools>
        <telerik:EditorToolGroup >
            <telerik:EditorTool Name="Cut"  />
            <telerik:EditorTool Name="Copy" />
            <telerik:EditorTool Name="Paste" />
            <telerik:EditorTool Name="PasteFromWord" />
        </telerik:EditorToolGroup>
            <telerik:EditorToolGroup>
                <telerik:EditorTool Name="Bold" />
                <telerik:EditorTool Name="Italic" />
                <telerik:EditorTool Name="Underline" />
            </telerik:EditorToolGroup>
                        <telerik:EditorToolGroup>
                            <telerik:EditorDropDown Name="FontName">
                            </telerik:EditorDropDown>
                            <telerik:EditorDropDown Name="FontSize">
                            </telerik:EditorDropDown>
                            <telerik:EditorSplitButton Name="ForeColor">
                            </telerik:EditorSplitButton>
            </telerik:EditorToolGroup>
            <telerik:EditorToolGroup>
     
                <telerik:EditorTool Name="XhtmlValidator" />
     
            </telerik:EditorToolGroup>
            <telerik:EditorToolGroup>
                <telerik:EditorTool name="ImageManager" enabled="true"  />
            <telerik:EditorTool Name="DocumentManager" />
            </telerik:EditorToolGroup>
            
             
            
    </Tools> 
         <ImageManager ViewPaths="~/userimages" UploadPaths="~/userimages" DeletePaths="~/userimages" AllowFileExtensionRename="false"  SearchPatterns="*.jpg, *.jpeg, *.gif, *.png"    AllowMultipleSelection="false"  EnableAsyncUpload="false"  > 
             

         </ImageManager>     
        <DocumentManager ViewPaths="~/userdocuments" UploadPaths="~/userdocuments" DeletePaths="~/userdocuments" SearchPatterns="*.pdf, *.doc, *.docx, *.xls, *.xlsx" />                                                    

<TrackChangesSettings CanAcceptTrackChanges="True"></TrackChangesSettings>
    </telerik:RadEditor>

Danny
Top achievements
Rank 1
 answered on 19 Nov 2013
1 answer
97 views
Hi there,

I'm sorry if this topic is irrelevant to the forum. I just want to know which control(s) are used for this demo: http://demos.telerik.com/aspnet-ajax/imagegallery/. I would like to build an photo album like this. Thanks!

Long
Konstantin Dikov
Telerik team
 answered on 19 Nov 2013
2 answers
96 views
Hello Everyone!

I have an editable RadGrid, and I would like to be able to intercept the primary key value and look up a value from another table prior to the insert.  I have a working SQL Query since it will function just fine on Update (just compares primary to foreign keys already in SQL), but I cannot grab the value from the value from the textbox prior to the InsertCommand firing (compare that value to the foreign key).  I've tried capturing the textbox value on InsertCommand and InsertButton_Click.

Can anyone please advise me?

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 19 Nov 2013
0 answers
115 views
I have a strange issue that I cannot figure out. Whenever I run my project locally in visual studio, radgrids do not show correctly, but if I publish my project to either our development server or production server, then it shows correctly. It used to work fine and I am not sure what changed.

I took the rendered html files from my local environment and on our server and did a compare between the two. I found that whenever I rendered the file locally, I was missing the following:

<table class="rgMasterTable" id="ctl00_MainContent_grdRoleEdit_ctl00" style="width:100%;table-layout:auto;empty-cells:show;">
<colgroup>
<col />
<col />
<col />
<col />
</colgroup>
<thead>
<tr>
<th scope="col" class="rgHeader">Role Name</th><th scope="col" class="rgHeader">Company</th><th scope="col" class="rgHeader">Signing Limit</th><th scope="col" class="rgHeader">&nbsp;</th>
</tr>
</thead><tfoot>
<tr class="rgFooter">
<td align="left">

Completely missing, doesn't show in the browser at all, but if I look on our development or production servers, it's there. Tried multiple browsers with the same result. I cannot understand when all of the sudden code would disappear locally, but not when i publish it to another server.

*** UPDATE ***: Issue fixed by reinstalling telerik Ajax controls and removing and reinserting Telerik reference.

Thanks,

Ryan
Ryan
Top achievements
Rank 1
 asked on 19 Nov 2013
2 answers
267 views
Hi I have been attempting to use RadWindow to create a popup that is like the style of the attached image. I have been able to remove all of the control elements and borders using the following styles:

.RadWindow_Default .rwCorner .rwTopLeft, 
.RadWindow_Default .rwTitlebar, 
.RadWindow_Default .rwCorner .rwTopRight, 
.RadWindow_Default .rwIcon,
.RadWindow_Default table .rwTopLeft, 
.RadWindow_Default table .rwTopRight, 
.RadWindow_Default table .rwFooterLeft, 
.RadWindow_Default table .rwFooterRight, 
.RadWindow_Default table .rwFooterCenter, 
.RadWindow_Default table .rwBodyLeft, 
.RadWindow_Default table .rwBodyRight, 
.RadWindow_Default table .rwTitlebar, 
.RadWindow_Default table .rwTopResize,
.RadWindow_Default table .rwStatusbar,
.RadWindow_Default table .rwStatusbar .rwLoading
    {   
        display: none !important;  
    }


The rounded corners and the drop shadow remain. I can do without the drop shadow, but the rounded corners fit in the theme of the site.

Thanks in advance for any help.

Steve 
neebs
Top achievements
Rank 2
 answered on 19 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?