Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
199 views
I am working on a project where at times I need to set the column width to a fixed value in javascript, and then I need to remove it, so that it expands 100%.  Setting the fixed width is easy using the built in js function...

grid.resizeColumn(cellIndex, width);

After this I also need to be able to remove that width so that the column will expand as needed.  Any suggestions on how to accomplish this?
Andres
Top achievements
Rank 1
Iron
 answered on 27 Feb 2018
3 answers
90 views
can we overlap two or more appointments in RadScheduler for show two or more event are on same time,right now RadScheduler  shows separtely in the same time slot, if i drag and drop apointment in a perticuler time slot, but i want to overlaap these apointments.
please reply if any one knows......


thanks
regarded as :
Muhammad Ali   
Peter Milchev
Telerik team
 answered on 27 Feb 2018
3 answers
155 views

I recently upgraded Ajax UI controls and Reporting to the latest version. Trying to pull up the pages with Telerik controls products an error seemingly unrelated to Telerik - but mismatched versions produced seemingly unrelated errors a few months back on a Telerik upgrade.

I manually went into the web config and changed the version on Reporting - but there is no explicit version for the controls
the only other Telerik dll referenced is the Web ReportViewer - which was not updated, either in development or on the production server
if the problem is a version mismatch how do I find out what it is?

 

 

Rumen
Telerik team
 answered on 27 Feb 2018
0 answers
133 views

Hi,

I have done everything i.e. the client side api in documentation shows, but dropdown list will not show the selected item. The item is selected when drop down list is expanded (i.e. dropped down ). It shows the item as yellow (highlighted). But after list is loaded it does not show the item in text element. This leads to false required field validator alarm in browser. User have to reselect item. I am getting lot of complaints regarding this and I have failed to find a solution. I tried to do force selection by but than required field validator still fails.

Here is the code:

var ddlRef = $find(controlIds.refNumDdlId);
ddlRef.trackChanges();
ddlRef.get_items().clear();
for (var i = 0; i < data.length; i++) {
    var comboItem = new Telerik.Web.UI.DropDownListItem();
    comboItem.set_text(data[i]);
    comboItem.set_value(data[i]);
    if (pceObject.ReferenceNumber && pceObject.ReferenceNumber == data[i]) {
        comboItem.select();
        scopeData.selectedRefNum = data[i];
    }
    ddlRef.get_items().add(comboItem);
}
if (scopeData.selectedRefNum) {
    var el = ddlRef.get_textElement();
    $(el).text(scopeData.selectedRefNum);
}
ddlRef.saveClientState();
ddlRef.commitChanges();

 

amarbir
Top achievements
Rank 1
 asked on 27 Feb 2018
7 answers
321 views
I'm curious if it's possible to display the column selector menu via Javascript? I'd like to add button that a user can click and select the column's he wants to view, without me having to explain that he shoudl right-click on the header, and select the columns menu.

Is this possible?

Thanks
John
Andres
Top achievements
Rank 1
Iron
 answered on 26 Feb 2018
1 answer
256 views
If you go to the demo at https://demos.telerik.com/aspnet-ajax/listview/examples/overview/defaultcs.aspx and increase the page size to 10, you'll see a bigger gap between the fieldsets on the first row as compared to the rest of the rows. I see the same behaviour in my app. Why is this happening?
Vessy
Telerik team
 answered on 26 Feb 2018
1 answer
280 views

Hi, we're not using paging on one of our RadGrids and need to reduce the html output as much as possible. We've noticed that the RadGrid puts a unique ID on every row. Is there anyway to turn this off as it creates a lot of extra code over a few thousand rows.

<tr class="rgRow" id="ctl00_ContentPlaceHolder1_rgDocuments_ctl00__0">

 

Thanks

Daniel

Vessy
Telerik team
 answered on 26 Feb 2018
4 answers
582 views
Hi,

I'm experiencing a strange issue with a RadAjaxManager and chrome  (IE10 work fine) :
I've defined my RadAjaxManager like this :

<telerik:RadAjaxManager ID="PageRadAjaxManager" runat="server" OnAjaxRequest="PageRadAjaxManager_AjaxRequest">
   <AjaxSettings>
      <telerik:AjaxSetting AjaxControlID="PageRadAjaxManager">
         <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="GalopRadGrid"LoadingPanelID="PageRadAjaxLoadingPanel" />
         </UpdatedControls>
      </telerik:AjaxSetting>
   </AjaxSettings>
</telerik:RadAjaxManager>


And I call a javascript function to refresh my control "GalopRadGrid" :

function DoRefreshGalopGrid() {
   var arguments = 'RefreshGalopGrid';
   var ajaxManager = $find("<%=PageRadAjaxManager.ClientID%>");
   ajaxManager.ajaxRequest(arguments);
}


When calling my function, I get the following error :

Uncaught TypeError: Cannot read property 'caller' of undefined 

I use a RadAjaxManager in the same way in other pages and I don't get any problem. Does any one got a idea to solve this trouble ?

Thanks,
Corentin
Tounsi
Top achievements
Rank 1
 answered on 26 Feb 2018
1 answer
153 views

I'm using a RadEditor inside my own user control (*.ascx) and I have set it's onClientLoad as:

<script type="text/javascript">
    function OnClientLoad(editor, args) {
        debugger;
        alert('hi');
    }
</script>

it is rarly fired as I refresh the page.

at times that it isn't fired I can't use $find("...") as it returns null.

how can I fix this?

thanks in advance.


Rumen
Telerik team
 answered on 26 Feb 2018
1 answer
140 views

Hello,

I am using version 2017.3.913.40. The code segment to save a file, using the AsyncUpload control, works only the first time. If I upload a different file, I would the get an error message, see attachment, that it tried to look for a file with extension .tmp. I put the following lines in the Web.config, based on a suggestion on a thread I found. But it doesn't seem to fix the problem. Could you help?

<add key="Telerik.AsyncUpload.TemporaryFolder" value="~/RadUploadTemp" />
<location path="RadUploadTemp">
    <system.web>
      <authorization>
        <deny users="*" />
      </authorization>
    </system.web>
  </location>


 

 

Tri Nguyen
Top achievements
Rank 1
 answered on 23 Feb 2018
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?