Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
374 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
287 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
305 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
150 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
100 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
103 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
122 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
284 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
8 answers
656 views
Hi, 

I am using RadListBox with checkboxes for user to do multi-selections. But the select options in the list box is massive data, so the postback ViewState is huge. What I did to solve is set EnableViewState="false", then try to grab the checked item in request form. This is my code:

front end:
<telerik:RadListBox ID="listbox1" runat="server" CheckBoxes="true" EnableViewState="false"
                    SelectionMode="Single">
                </telerik:RadListBox>

back end:
var listbox = Request.Form[listbox1.ClientID + "_ClientState"];

The select options are populated in Page_Load().
First I noticed "Request.Form[listbox1.ClientID]" does not exist in the form returned, instead there is "Request.Form[listbox1.ClientID + "_ClientState"]". I guess it's a difference between RadListBox and regular ListBox I am not sure.  But I am not sure what should I do next.
I want to grab the checked options. How can I do that? What structure is the "ClientState"?

Or is there another better way to get ride of the Huge ViewState issue? I know this has been a pain from ASP.NET, but any help will be appreciated.

Thanks

Rui
Top achievements
Rank 1
 answered on 19 Nov 2013
3 answers
108 views
I have a situation in which the scheduler will already be open and an item will be added to one of the resources, either by another user or the current user on a different page. When the advanced form is shown, the new item is not in the list. Is there any way, short of refreshing the page, to trigger a refresh of resources?

Plamen
Telerik team
 answered on 19 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?