Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
1.4K+ views

 

I have RadWindow popup all things working on it fine just I faced  with a problem is that the RadWindow after PostBack  the RadWindow is closed immediately ..! I mean this event OnSelectedIndexChanged="ddltype_SelectedIndexChanged" has fired however I putted UpdatePanel  in side  

 

<p><telerik:RadWindow ID="RadWindow1" runat="server" Modal="true" Behaviors="Close">                                       <br> </p><p><ContentTemplate></p><p><strong>the UpdatePanel  goes here</strong></p><p></ContentTemplate></p><p></telerik:RadWindow ></p>

 but I getting this error mesasage

Cannot unregister UpdatePanel with ID '' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported. Parameter name: updatePanel

what is wrong with the code thanks in advance

Entire code

 

<p><telerik:RadWindowManager ID="RadWindowManager1" runat="server" Width="400" Height="200"><br>              <br><br>                <Windows><br><br>                    <telerik:RadWindow ID="RadWindow1" runat="server" Modal="true" Behaviors="Close"><br>                       <br>                        <br>                        <ContentTemplate><br><br>                  <br> <br>                                   <br><br><br>                 <asp:DropDownList ID="ddltype" runat="server" OnSelectedIndexChanged="ddltype_SelectedIndexChanged" DataSourceID="sdsCalFeulTypesNew" AutoPostBack="true" DataTextField="CalFeulTypeName" DataValueField="CalFeulTypeId"><br><br>                     <asp:ListItem Selected="True">Select ...</asp:ListItem><br><br><br><br>                 </asp:DropDownList><br><br><br><br><br>                                        <asp:SqlDataSource ID="sdsCalFeulTypesNew" runat="server"<br>                                            ConnectionString="<%$ ConnectionStrings:Myconnectionstring %>"<br>                                            SelectCommandType="StoredProcedure" SelectCommand="SPCommandName"><br><br>                                            <SelectParameters><br><br><br>                                                <asp:Parameter Name="FeulCatFkey" Type="Int32" DefaultValue="1" /><br><br><br>                                            </SelectParameters><br><br>                                        </asp:SqlDataSource><br><br><br><br><br><br><br>                                        <telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" CssClass="racSlide" Style="padding: 5px; margin: 5px; width: 70%;" Font-Bold="true"<br>                                            TextSettings-SelectionMode="Single" runat="server" DropDownWidth="240px"<br>                                            InputType="Text" DataSourceID="sdsCalculationName" DataTextField="CalculationName" DataValueField="Calculation_ID"<br>                                            EmptyMessage="Search Items" MinFilterLength="2" MaxResultCount="10" AllowTokenEditing="true"<br>                                            EnableClientFiltering="false" AllowCustomEntry="true"<br>                                            AutoPostBack="false" EnableAjaxSkinRendering="False" EnableTextSelection="True"<br>                                            EnableAriaSupport="True" Filter="StartsWith"><br>                                        </telerik:RadAutoCompleteBox><br><br><br><br><br><br><br><br><br>                                    <div style="margin-top: 60px; margin-left: 10px;"><br><br><br><br>                                        <asp:Button runat="server" ID="btnCancel" CssClass="btn btn-danger" Text="Cancel" Style="margin-top: 5px;" /><br><br><br><br>                                        <asp:Button runat="server" ID="btnNewCalculation" CssClass="btn btn-info" OnClick="btnNewCalculation_Click" Text="Start Calculation" Style="margin-top: 5px;" ValidationGroup="VGCal" /><br><br><br>                                    </div><br><br><br><br><br>                                    <asp:SqlDataSource ID="sdsCalculationName" runat="server"<br>                                        ConnectionString="<%$ ConnectionStrings:Myconnectionstring %>"<br>                                        SelectCommandType="StoredProcedure" SelectCommand="spCommandName"><br>                                        <SelectParameters><br><br><br>                                            <asp:Parameter Name="dep" Type="int16" DefaultValue="1" /><br><br>                                        </SelectParameters><br>                                    </asp:SqlDataSource><br>                        <br><br>                             <br><br><br><br><br>                        </ContentTemplate><br><br>                                 <br>                    </telerik:RadWindow><br><br>    </Windows><br><br>               <br><br><br> <br>            <br>            </telerik:RadWindowManager></p><p></p>

 

 

 

Doncho
Telerik team
 answered on 13 Mar 2020
5 answers
335 views

Hi,

I am receiving an issue when I upload a file of size 10 MB. The issue is that browser gets frozen immediately after selecting the file for some time(40 seconds for the excel file and I cannot attach the file here as it's accepting max 2 MB), and we cannot perform any activity on the browser. We experienced the same issue on the below link that is given by Telerik team member in one of the threads. Please note that this is happening only on https site, whereas it's working fine on http site.

 

Telerik demo site:

https://demos.telerik.com/aspnet-ajax/asyncupload/examples/overview/defaultcs.aspx?_ga=2.109691525.1087938382.1583129609-1001097786.1580547921

 

Below is the thread link where the above link is mentioned to check if the issue exists:

https://www.telerik.com/forums/radasyncupload-in-https

 

Please let me know if any questions or you need any information.

 

Regards,

Vijay

Rumen
Telerik team
 answered on 13 Mar 2020
1 answer
176 views

Hello All,

I want to export RadScheduler which is working fine and exporting to new file on client. I want to export it to a specific path on server so I know the exact path on server to attach that file to an email. The RadScheduler1.ExportToPdf just exports a file and opens in the browser.

Please suggest what is solution so I can use something like RadScheduler1.ExportToPdf(Server.MapPath("/myfile.pdf")).

Thanks in advance.

Rumen
Telerik team
 answered on 12 Mar 2020
4 answers
408 views

We have a numeric text box on a RadGrid, and the spin buttons are enabled. From a UX standpoint, we want to reverse the functionality of the up/down buttons. We want the up button to move the value lower, as the item is rising up the "rankings" in our list.

The page in question is not accessible, but I've attached a screenshot, and what we're trying to do should be pretty obvious from looking at it. In this shot, I have clicked the up arrow next to Josh Allen's "Rank" four times, with the intention of moving him higher in the list (by higher, I mean "better," as in a top ten list.) But, what it did was raise the value of "Rank" from 6 to 10.

Any idea how we can handle this?

Thanks...

 

Chris Barry

 

Vessy
Telerik team
 answered on 12 Mar 2020
4 answers
868 views

     Hi,

     I've added a Radcombobox to a page in my .net project. I set the properties as follows:

            radCmbLocation.AllowCustomText = false;
            radCmbLocation.MarkFirstMatch = true;
            radCmbLocation.AutoCompleteSeparator = "-";

 I am filling the combo box with a number of sorted strings in the following format:

  01-01-04

All of the strings have this format.If I type "0" this appears:

01-01-01

This makes sense as it is the first string in the sort order. If I keep typing "1-02" (which cumulatively would be "01-02") the number in the combo box comes out as:

01-02-01-01

I was expecting that typing the "02" would have brought up the first 01-02 string in the drop down but that is not happening. Obviously I only want whatever I type to bring up the first match in the combobox but that is not happening. I been looking at posts on the combo box and auto-complete for a while and can't find an answer.

Any help would be appreciated.

Thanks,

fig

 

Rumen
Telerik team
 answered on 12 Mar 2020
4 answers
496 views

Hi,

could somebody give me an advice, whether it's possible to have months in the same format as years ? I mean, now there are Jan. , Feb. .. and I want there only month numbers 01, 02.

And my second issue is how to change selected row value. Now, when I choose some month and year and click on OK button, there is January 2020. I need selected date in the format 01/2020, or 02/2020

Please, help me to solve this issues.

Regards

Vasssek

Vasssek
Top achievements
Rank 1
 answered on 11 Mar 2020
1 answer
611 views
 <telerik:RadListView ID="RadListView" runat="server" ItemPlaceholderID="pp"  OnItemCommand="RadListView_ItemCommand">
            <LayoutTemplate>
                <telerik:RadButton RenderMode="Lightweight" ID="btnInitInsert" runat="server" CommandName="InitInsert" Text="Insert Employee" >
                </telerik:RadButton>
                <asp:PlaceHolder ID="pp" runat="server"></asp:PlaceHolder>
            </LayoutTemplate>
            <ItemTemplate>
                <telerik:RadLabel ID="RadLabel1" runat="server" ForeColor="Black" Text="<%# Container.DataItem %>"></telerik:RadLabel>
            </ItemTemplate>
            <InsertItemTemplate>
                <asp:Button ID="Button2" runat="server" Text="cancel insert" CommandName="Cancel" />
            </InsertItemTemplate>
        </telerik:RadListView>
Attila Antal
Telerik team
 answered on 11 Mar 2020
3 answers
267 views

I can determine if a RadDataForm Is in Insert mode with code like this:

if ($find("<%= frmClaim.ClientID %>")._isItemInserted) { ...

 

 

 

But how can I determine if a RadDataForm is in edit mode from client side JavaScript?

Vessy
Telerik team
 answered on 11 Mar 2020
1 answer
316 views

Hi, i just changed our website to use HTTPS on all pages.

But now RadMap doesn't work any more with Bing:

<LayersCollection>
   <telerik:MapLayer Type="Bing" Key="xxxxxxxxxxxxxx" ImagerySet="Road" Attribution="yyy" Opacity="1">
   </telerik:MapLayer>
</LayersCollection>

 

I believe I need to use a custom URLTemplate that uses HTPPS....

Can anyone please show me how exactly this URLTemplate has to be?

Thanks in advance for youe help!

Tom

Vessy
Telerik team
 answered on 11 Mar 2020
3 answers
410 views
Hello...

We've been using RadCaptcha (version 2010 Q1) control on a site for some time, but today when we've had higher load of visitors trying to confirm the displayed code, it wouldn't be accepted, but another code was displayed.

It would take up to a 10 or so entries for the code to be accepted.
Control is located inside update panel, as I've read on one of posts here that should be, it is the only control on the page.
And it wasn't that much people loading, maybe 30 people entering and clicking in 5 minutes.

Also, sometimes Captcha image is not loaded at all.

No help with restarting pool, IIS, etc.

This didn't use to happen on development or testing or live location previously, so it's unclear why sudden.
Are there some updates done between versions 2010.1 and 2010.2 that might help with this?

Thanks in advance...
Vessy
Telerik team
 answered on 11 Mar 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?