Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
181 views
I am writing a .NET (VB) web application which is using a page with a control present on it. In the control there is a data entry form with a save function. The save function at the moment saves the data into a SQL Server database and then reloads the form to show the data again.

Due to varying times it takes to save the data, some users are closing down the browser during the saving process, thus it is not always being written to the database. Also sometimes they navigate away from the web application screen to another part of the system that causes the same issue.

What I would ideally like it if a message box was to appear when saving, stating that the application is saving data, and all other controls on the application web page are disabled while it is shown. Then when the saving process is completed the message box automatically disappears. The issue I am aware of is that the majority of the time the save process is nearly instantaneous, so I would need a minimum display time on this message box.

Does anyone have any ideas of the best way forward? And is there a Telerik control I can use to achieve this?

Thanks ever so much!
Danail Vasilev
Telerik team
 answered on 23 Oct 2013
7 answers
168 views
Hi,

Can I check please, if my code below is the correct way to retrieve values from grid controls to use a parameter values in a SQL UPDATE query - as the values do not seem to be getting picked up:

 

 

Private Sub RDHauls_UpdateCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RDHauls.UpdateCommand

 

 

 

Try

 

 

 

' List of parameter values that need to be passed into the UPDATE SQL query

 

TripCode = RTrim(

 

CStr(ddlTripCode.SelectedItem.Value))

 

 

 

Dim VesselCode As String = CType(e.Item.FindControl("VessReg"), TextBox).Text

 

 

 

Dim HaulNumber As Integer = CType(e.Item.FindControl("HaulNumber"), TextBox).Text

 

 

 

Dim RigNumber As Integer = CType(e.Item.FindControl("RigNumber"), TextBox).Text

Thank you, Ida

 

Ida
Top achievements
Rank 1
 answered on 23 Oct 2013
5 answers
507 views
Whenever I try to F5/preview a site through visual studio, I get:

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Unrecognized configuration section system.webServer.

Source Error: 

Line 66:     <httpModules/>
Line 67:   </system.web>
Line 68:   <system.webServer>
Line 69:     <modules runAllManagedModulesForAllRequests="true"/>
Line 70:     <validation validateIntegratedModeConfiguration="false"/>

That section has
'<system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
    <validation validateIntegratedModeConfiguration="false"/>
    <handlers>
      <remove name="ChartImage_axd"/>
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
      <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
      <remove name="Telerik_RadUploadProgressHandler_ashx"/>
      <remove name="Telerik_Web_UI_WebResource_axd"/>
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/>
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/>
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/>
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/>
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/>
    </handlers>
  </system.webServer>'
If I kill the system.WebServer section, it errors out that it can't find it. So it's looking for it, but it doesn't know what to do with it when it finds it. 

No one else on my team has any problem with this. Any ideas what's wrong?
Daniel
Telerik team
 answered on 23 Oct 2013
5 answers
118 views
Hello all,

link manager dialog displays with radtoolbar reappear above modal overlay when user clicks all properties button on insert link dialog
need to prevent users click any editor tools.
navigated code but I could not find any triggers that.
I am just assuming CSS issues.

Thank you
Ianko
Telerik team
 answered on 23 Oct 2013
2 answers
64 views
Hi,

We are using 2013 ASP.NET Ajax Q2 version. When we click side to the RadAsynUpload control it is hiding top portion of the control's. This issue only If we place control inside a webform with master page. Working fine without masterpage.

Please see the attachment.

Thanks & Regards,
Ramesh
Ramesh
Top achievements
Rank 1
 answered on 23 Oct 2013
3 answers
201 views
How can I set up a RadNumericTextBox to cope with the full range of an int64?

I currently have:
<telerik:RadNumericTextBox ID="RadNumericTextBox1" DataType="System.Int64"
            runat="server" Culture="en-US" EnableSingleInputRendering="True"
            LabelWidth="64px" MaxValue="9223372036854775807" MinValue="0">
<NumberFormat ZeroPattern="n" AllowRounding="False" DecimalDigits="0" GroupSeparator=""></NumberFormat>
        </telerik:RadNumericTextBox>

According to MSDN,the maxvalue of int64 is 9223372036854775807.

It appears to be impossible to configure a RadNumericTextBox to accept and return this number.

If you set DataType="System.Int64" and enter 9223372036854775807, the control changes it to 9223372036854776000.

If you try and read back 9223372036854776000 then .DbValue throws an overflowexception, and .Text returns "9.22337203685478E+18".

Does RadNumericTextBox support int64 or not?

Thanks.

Vasil
Telerik team
 answered on 23 Oct 2013
5 answers
306 views
Hi,
i am having grid in which i am using editmode and automatic insert and delete ,i want to show js popup msg to show alert and confirm ,
for this i have to remove ajax panel and manager ,due to which the processing of grid opertaion becomes low
and also i am using export functionality in grid
So is their any other option that i can use and achieve all this

Thanks
Maria Ilieva
Telerik team
 answered on 23 Oct 2013
5 answers
645 views
Hi,

I have a page with a repeater inside a Panel. Inside the repeater, there's a radiobuttonlist and depends on what the user clicks, I have to add new rows to the repeater. The problem is I'm getting this error:

Value cannot be null.
Parameter name: page


My aspx page is like this:
 <asp:Panel runat="server" ID="updPnlQuestionnaire">
                    <%--<ContentTemplate>--%>
                         <asp:Repeater ID="rptrQuestion" runat="server" OnItemDataBound="rptrQuestion_OnItemDataBound" OnItemCreated="rptrQuestion_OnItemCreated" ClientIDMode="AutoID">
                                <ItemTemplate>
                                    <table class='questions-table'>
                                            <tr class='datarow'>
                                                <td><asp:Label ID="lblQuestion" Text='<%# Eval("Question") %>' runat="server"></asp:Label>
                                                    <asp:HiddenField ID="hdnQuestionType" runat="server" Value='<%# Eval("QuestionType") %>'/>
                                                    <asp:HiddenField ID="hdnQuestionID" runat="server" Value='<%# Eval("QuestionID") %>'/>
                                                </td>
                                            </tr>
                                     </table>
                                     <table class="questions-table">
                                        <tr class="datarow">
                                            <td>
                                                <asp:RadioButtonList ID="rblListAnswers" runat="server" OnSelectedIndexChanged="rblListAnswers_OnSelectedIndexChanged" AutoPostBack="true"></asp:RadioButtonList>
                                            </td>
                                        </tr>
                                       
                                    </table>
                                
                                </ItemTemplate>
                            </asp:Repeater>
                        
                    </asp:Panel>

While in my Item_Created, I'm adding the ajaxsettings:
 protected void rptrQuestion_OnItemCreated(object sender, RepeaterItemEventArgs e)
        {
            RadioButtonList rblListAnswers = (RadioButtonList)e.Item.FindControl("rblListAnswers");
            var ajaxManager = RadAjaxManager.GetCurrent(this.Page);
                ajaxManager.AjaxSettings.AddAjaxSetting(rblListAnswers, updPnlQuestionnaire);
        }

I've read somewhere that adding ClientIDMode="AutoID" solves this problem, but I'm still having this issue. Even adding the ajaxsettings in OnItemDataBound still gives this error.

Any help would be greatly appreciated. Thanks!
Konstantin Dikov
Telerik team
 answered on 23 Oct 2013
3 answers
148 views
Have an application where a user will step through the wizard like process and when they are satisfied they can click a button to get the results.  I would like for results that will be loaded into a RadGrid to be loaded into the RadWindow.  I have used it where I would open up an external page but this will not load an external page.  How do I get the button to work?

<telerik:RadButton ID="_btnUpdateResults" runat="server" Text="Update Results"></telerik:RadButton>


<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" Modal="true" Behaviors="Close"
                                    width="500px" Height="325px" ReloadOnShow="True" Animation="None" VisibleStatusbar="false" >
    <Windows>
        <telerik:RadWindow ID="RadWinResults" runat="server"
            ReloadOnShow="true" ShowContentDuringLoad="false"
            Visible="false" Overlay="true" VisibleOnPageLoad="true" style="display: inline; overflow:hidden;">
            <ContentTemplate>
                <telerik:RadGrid ID="_SearchResults" runat="server"
                    AllowPaging="True" CellSpacing="0"
                    GridLines="None" ShowGroupPanel="True"
                    AllowSorting="True" PageSize="25" Width="100%" Height="700px"
                    AllowFilteringByColumn="True">
                    <GroupingSettings CaseSensitive="False" />
                    <ExportSettings IgnorePaging="True" OpenInNewWindow="True"
                        ExportOnlyData="True" FileName="CUCustomSearch">
                        <Excel AutoFitImages="True" Format="ExcelML" />
                        <Pdf PageHeight="210mm" PageWidth="297mm" DefaultFontFamily="Arial Unicode MS" PageTopMargin="45mm"
                            BorderStyle="Medium" BorderColor="#666666">
                        </Pdf>
                    </ExportSettings>
                    <ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True"
                        ReorderColumnsOnClient="True">
                        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                    </ClientSettings>
                    <MasterTableView CommandItemDisplay="Top" InsertItemDisplay="Bottom" TableLayout="Fixed">
                    <CommandItemSettings ShowAddNewRecordButton="False"
                        ShowExportToCsvButton="False" ShowExportToExcelButton="true" ShowRefreshButton="False" ShowExportToPdfButton="True" />
                        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"
                            Visible="True">
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"
                            Visible="True">
                        </ExpandCollapseColumn>
                        <EditFormSettings>
                            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                            </EditColumn>
                        </EditFormSettings>
                    </MasterTableView>
                    <FilterMenu EnableImageSprites="False">
                    </FilterMenu>
                </telerik:RadGrid>
            </ContentTemplate>
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>
Marin Bratanov
Telerik team
 answered on 23 Oct 2013
1 answer
88 views
EDIT: Sorry, as I typed this I got the answer...
Om
Top achievements
Rank 1
 answered on 23 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?