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

Hi 

Is there a way to optimize reports results. We are trying to use it in one of our products at ZTABS but when data gets larger, reports get really slow. What to do ? Specially in case of joins in the queries. 

 

Todor
Telerik team
 answered on 19 Sep 2019
1 answer
169 views

I have a rad grid full of keys assigned to an employee, which is populated from an employee selected in a combo box, and that information is pulled in from sql. I have the allow edit column turned on as there is one column that will need updating, the key status. All other columns are hidden when I hit edit. When the edit button is hit, a drop down box appears under the selected row, full of options for the status of the key. One should be selected, and then when update is hit, it should then change the key status in the grid. To do this, I need to pass a parameter, ID, to the update key store procedure I want to use for updating to the database. Each key has an ID, and upon editing a row, the parameter of course needs to be the value of the ID column in that selected row upon editing. How exactly do I implement this? Pictures attached to show what I am working with, things blurred out as necessary. I am working in VB.

 

 

 
Attila Antal
Telerik team
 answered on 18 Sep 2019
4 answers
143 views

I have 2 objects:

Checkbox1
ComboBox1

When the checkbox1 is checked Combobox1 becomes visible="true" and enabled.
I've used the AJAXManager UpdatedControls and this is working perfectly but the issue is that when im trying to use an eventhandler for example "OnIndexChanged" of Combobox1 it never gets fired.

Below is my sample code:

AjaxManager
 

<telerik:RadAjaxManager runat="server" ID="RadAjaxManager"
       DefaultLoadingPanelID="RadAjaxLoadingPanel1">
       <AjaxSettings>
 <telerik:AjaxSetting AjaxControlID="ComboCompanies">
               <UpdatedControls>
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="chkCompany">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ComboCompanies" />
               </UpdatedControls>
           </telerik:AjaxSetting>
       </AjaxSettings>
   </telerik:RadAjaxManager>

 

    

Eyup
Telerik team
 answered on 18 Sep 2019
3 answers
234 views
I am noticing that everything on my page is successfully caching except the calls to the RadScriptManager and RadStyleSheetManager resource handlers.   Here's an example of the firebug output from the style sheets:

Last Modified   Wed Mar 31 2010 10:52:18 GMT-0400 (Eastern Daylight Time)
Last Fetched   Wed Mar 31 2010 10:52:18 GMT-0400 (Eastern Daylight Time)
Expires   Thu Mar 31 2011 10:51:28 GMT-0400 (Eastern Daylight Time)
Data Size   11318
Fetch Count   8
Device   disk


Response Headers
Cache-Control   public, max-age=31535988
Content-Type   application/x-javascript
Content-Encoding   gzip
Expires   Thu, 31 Mar 2011 14:51:29 GMT
Vary   User-Agent
Server   Microsoft-IIS/7.5
X-AspNet-Version   2.0.50727
X-Powered-By   ASP.NET
Date   Wed, 31 Mar 2010 14:51:40 GMT
Content-Length   11318

Request Headers
Host   localhost:81
User-Agent   Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2) Gecko/20100105 Firefox/3.6
Accept   text/css,*/*;q=0.1
Accept-Language   en-ca,en;q=0.5
Accept-Encoding   gzip,deflate
Accept-Charset   ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive   115
Connection   keep-alive
Referer   http://localhost:81/
Cookie   ASP.NET_SessionId=wyuncl55hepul5aai14evaqg
Cache-Control   max-age=0

Any thoughts on why it isn't caching?

Thanks,
Colin
Rumen
Telerik team
 answered on 17 Sep 2019
7 answers
106 views

Hello guys,

 

We've faced an issue with context menu on several RAD controls when running on MacOS 10.14.x (Mojave) with FireFox 66.0.x (Quantum).

Using touchpad or mouse, when right clicking for context menu, it just flashed and doesn't stay open: it opens and then suddenly closes.

We are using Telerik Asp.Net Ajax version 2017.2.503.40 but it can be also replicated on your demo version:

https://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/context-menu/defaultcs.aspx

https://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx

 

Not sure if you can provide a fast workaround for this but I just wanted to let you know.

I've checked for some open cases before creating this thread and hope I didn't duplicate something. Please move/close it if necessary.

 

Regards,

Andrei V.

 

Andrei
Top achievements
Rank 2
 answered on 17 Sep 2019
1 answer
173 views

Dear All,

 

i am new to telerik, especially radgrid. right now i am creating windows popup Employee selector using RadWindows, triggered by button show employee, and then calling another page with radgrid showing Employee record include filter on and paging, it's worked perfectly. But, there some error that i faced, everytime i'm doing filtering or paging on radgrid, after i clicked button close on popup radwindows and then i've clicked button show employee again, popup open but with previously action state that i've done on grid, either filtering or paging.

How can i refresh Radgrid into original state, like first time opening popup and showing radgrid data without filtering or paging state ? 

Thanks.

<%@ Register TagPrefix="UC" TagName="UCEmploye" Src="../SIM/UcEmployeeBrowser.ascx" %>
 
<asp:Button ID="btnSearch" runat="server" Text="..." OnClick="btnSearch_Click" CausesValidation="false" CssClass="btn btn-primary" Height="28px" ToolTip="Click here to browse employee" />
 
<telerik:RadWindow ID="RwEmployeeBrowser" runat="server" Width="1200px" Height="550px" KeepInScreenBounds="true" Title="Select Employee">
    <ContentTemplate>
        <UC:UCEmploye ID="UCEmploye" runat="server" />
    </ContentTemplate>
</telerik:RadWindow>
Attila Antal
Telerik team
 answered on 17 Sep 2019
1 answer
213 views

Using file explorer I am uploading files to my web server. The problem that I am facing is when I try to upload a file which contains <script></script> tags from a cross-origin (CORS), it fails showing a tiny red dot. However,the uploading of files containing script tags from 'same origin' succeeds.

Also note that Temporary folder is given enough permissions and I my web server is IIS. The error occurs in RadAsyncUploadScript.js while making an ajax request.

To be more specific the line "n.send(this.formData);" in RadAsyncUploadScript.js throws an error stating:

"Failed to load resource: the server responded with a status of 403 ()"

 

Thanks and Regards

Bhanu

Vessy
Telerik team
 answered on 16 Sep 2019
15 answers
2.4K+ views
I am trying to access the DataItem for the parent of a detail grid.  Currently I am using the below code.  However, the DataItem is returning null for the parentItem.

protected

 

void grdOrderItems_ItemDataBound(object sender, GridItemEventArgs e)

 

{

 

  if (e.Item.OwnerTableView.Name == "Steps")

 

  {

 

    if (e.Item is GridDataItem && !e.Item.IsInEditMode)

 

    {

 

      string stepId = e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["Id"].ToString();

 

 


      GridDataItem
item = e.Item as GridDataItem;

 

 

      // item.DataItem is valid here

 

 


      GridDataItem
parentItem = item.OwnerTableView.ParentItem;

 

 

      // parentItem.DataItem is returning null

 

 

    }

 

  }

}

Attila Antal
Telerik team
 answered on 16 Sep 2019
8 answers
998 views
Hi, i have the Autosize property in windowmanager and works fine with my custom dialogs.
But it doesn't work with RadAlert dialog.

Is there any way to use the autosize with radalert? Maybe something with alerttemplate?

Thanks.
Peter Milchev
Telerik team
 answered on 16 Sep 2019
1 answer
238 views
I would like to represent binary data that save in myTable in sqlserver as svg in kendo grid MVC
S.Ahmadi
Top achievements
Rank 1
 answered on 16 Sep 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?