Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
179 views
I have a radeditor inside a jquery tab window, the editor is creating duplicate iframes or divs to display the content in - one below the other, but only one set of toolbars are being presented.  The app is bombing out on saving the content to db.  
The browser is IE9.  I'm using Q2 2012 controls.  Has anyone seen and been able to rectify this problem??
thanks.
Morgan
Top achievements
Rank 2
 answered on 20 Jul 2012
3 answers
260 views
Hi friends, I am trying to add a target url for the icon image, being used for child nodes.

I want something like this :

<Parent Node name and hyperLink>
|
|
|--<icon imageUrl hyperLink or TargetUrl> <childNode value caption/text/label>
|--<icon imageUrl hyperLink or TargetUrl> <childNode value caption/text/label>
|--<icon imageUrl hyperLink or TargetUrl> <childNode value caption/text/label>

I tried embed CSS, Javascript / jQuery but could not get it.

Thanks in advance for your help :-)
Princy
Top achievements
Rank 2
 answered on 20 Jul 2012
15 answers
497 views
Hi,

I am using RadGrid to display records, RadContextMenu is associated with it, the application is developed in ASP.NET.
Which event shouid i use to get the griddataitem object or how can i get the rowindex/coulumn name or cell which is clicked.

I tried using the GetClickedElement but it does not support asp.net i guess. Please help.

Thanks in advance.
Yogesh
Top achievements
Rank 1
 answered on 20 Jul 2012
2 answers
151 views
Hi,
Im using Telerik version Q2 2010.
In my application I want to add RadRating control within repeater. following is my code

<

 

 

asp:repeater ID="rptAssetList" runat="server">

 

<HeaderTemplate>

 

<ul>

 

</HeaderTemplate>

 

<ItemTemplate>

 

<li class='<%# Eval("AssetClass") %> clear-both'>

 

<p class="asset-name" title='<%# Eval("AssetToolTip") %>'>

 

<a href="javascript: {};" onclick='javascript:GetResource(<%# Eval("AssetDownloadID") %>)'><%# Eval("AssetName") %></a>

 

<img id="imgPrivate" src="../../../Common/Images/lock-icon.gif" width="10" height="10" runat="server" visible='<%# Eval("ImageVisibility") %>' meta:resourcekey="imgPrivate" />

 

</p>

 

</li>

 

<rad:radrating id="rdrRating" autopostback="true" runat="server" orientation ="Horizontal" itemcount="5" selectionmode ="Continuous" value =5></rad:radrating>

 

</ItemTemplate>

 

<FooterTemplate>

 

</ul>

 

</FooterTemplate>

</

 

 

asp:repeater>

It displays ating as in attached image. (like numbers vertically  (1. 2. 3...)

If anyone have idea about this issue please let me know asap.

Thanks in Advance

AKJ

Aruni
Top achievements
Rank 1
 answered on 20 Jul 2012
0 answers
157 views
Hi Guys,

Here i am getting the following error:

Field record in a database as DateTime field 2012-07-03 00:00:00.000


Value of '3/07/2012 12:00:00 AM' is not valid for 'SelectedDate'. 'SelectedDate' should be between 'MinDate' and 'MaxDate'. Parameter name: SelectedDate. 

The weird thing is it work the first time and the second or it randomly failed sometime in the second or third attempt.



<telerik:RadDatePicker ID="dtParticipationEnd" runat="server" AutoPostBack="true"
Skin="Office2007" DateInput-DateFormat="dd MMM yyyy"
DateInput-Width="20px" DateInput-CssClass="controlText" DateInput-Enabled="true"
MinDate="01/01/1000" MaxDate="01/01/3000">
</telerik:RadDatePicker>

None the following which i have tried worked. 
 if (this.participationEntity.ParticipationEnd != null)
 {
                    string participationEnd = ((DateTime)this.participationEntity.ParticipationEnd).ToShortDateString();
                    dtParticipationEnd.DbSelectedDate = participationEnd;
 }
 else
 {
                    dtParticipationEnd.DbSelectedDate = null;
  }

Second option i tried:
if (this.participationEntity.ParticipationEnd != null) dtParticipationEnd.DbSelectedDate = this.participationEntity.ParticipationEnd;


Mark de Torres
Top achievements
Rank 1
 asked on 20 Jul 2012
2 answers
170 views
Hi ,
I have an old version (2.7.2.0) of telerik combo box dll. This DLL works well with .Net framework 2.0. But When i am using with .Net 4.0 it gives javascript error.

function

RadComboBox(_11,_12,_13){

var

_14=window[_12];

if

(_14!=null&&!_14.tagName){

 

_14.Dispose();

}

I am getting error on _14.Dispose() method. "Microsoft JScript runtime error: Object doesn't support this property or method". Please let me know why this error i am getting with .net framework 4.0 and how i can fix it.

Thanks in advance. 

Xafir
Top achievements
Rank 2
 answered on 19 Jul 2012
4 answers
406 views
Hi,

I am using cascaded drop down and i have used RadAjaxManager to update the another dropdown, but i am getting the following error while using it :

Microsoft JScript runtime error: Unable to set value of the property 'control': object is null or undefined

Moreover, i have the dropdowns in ascx page and i am calling that ascx in aspx. if i take the dropdowns in aspx it works smoothly.

Help me out on this.

Thanks & Regards,
Dhaval Shukla
Eric
Top achievements
Rank 1
 answered on 19 Jul 2012
1 answer
323 views
As I have posted previously, I am using a radcombobox as a data selector in a radgrid. The combobox is filled with options for the user to select, but I only want the combobox visible if the user clicks on the existing item.

All of the functionality works as expected, however, the combobox must be displayed the first time the page is rendered because setting the Visible property to false server-side prevents the html from being generated.

I have tried setting an attribute in the style for display:none but it is not recognized and the combo still shows.
How can I initially hide the combobox and still have the html generated?

Also, while I might consider a client-side solution as a last resort, it is important to note that I have the potential for hundreds of comboboxes because as I stated previously, these are being used in a radgrid.

Other points that might be important is that the data in the combobox is filled based on the value of a field in the current record. i.e. if column pID is 42, then all items in a specific table where pID is 42 are put into the combobox. This precludes the thought of creating the combobox dynamically client-side because I would need to make numerous postbacks everytime the combobox becomes visible. I am desparately trying to keep the number of server calls down. 
Keith
Top achievements
Rank 2
 answered on 19 Jul 2012
1 answer
238 views
Hi,

I've a rad editor on my page and I set the attributes of it as follows:

rreSuperVisory.Attributes.Add("CommentTypeCode", ((int)CommentTypeCode.MRTLApprovalComment).ToString());     
  rreSuperVisory.Attributes.Add("UserId", UserId.ToString());

I want to access these attributes through jquery from client side.

Could you please tell me how is it possible ? If not, could you please suggest an alternate solution ?

Thanks,
Sailaja

Rumen
Telerik team
 answered on 19 Jul 2012
1 answer
153 views
I am having an issue on multiple pages with the RadDatePicker.  If the user uses the Calendar and selects a date there is no issue, but about 35% of the time if the user manually enters the date byt typing it in it does not recognize the date as the selected date.  I am using version 2009.3.1314.35.

<telerik:RadDatePicker ID="dpMeetingDate" runat="server" MinDate="2009-01-01" Width="150px" ImagesPath="" Skin="Vista" Enabled="false">
        <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x" Skin="Vista"  />
        <DatePopupButton ImageUrl="" HoverImageUrl="" />
</telerik:RadDatePicker>

when I try to save or sometimes try to filter by looking at the date entered if the user has manually entered it I get the error that no date was selected.

if (dpMeetingDate.SelectedDate == null)
{
  lblError.Text += "<br>  - Select a meeting date";
  canSave = false;
Eyup
Telerik team
 answered on 19 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?