Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
85 views
I have two radrotators, a horizontal scroller with 4 images at the bottom, and a single 'main' image radrotator at the top. I have it set up to display the disappearing item in the bottom scroller to the main image section as it moves forward. Is it possible to have the main image radrotator change based on the index of the lower one while still using the 'slide show' or 'automatic advance' rotator type? Or running two rotators off the same timer would help. After a couple minutes they get out of sync. I set both rotators to have the same scrollduration and frameduration. If this is possible, can you please offer a sample. Thanks!
Slav
Telerik team
 answered on 24 Jan 2012
1 answer
36 views
How to select the today column in week view? As I can see, there isn't a class that would select it.
Peter
Telerik team
 answered on 24 Jan 2012
3 answers
74 views
Hi all,
        I am new to rad controls ,I would Like to add rad editor to SharePoint Display form (DispForm.aspx ) , Because I am using visual webpart  and saving the data using "Rad Editor" to SharePoint list to one of the list item  "Rich Text-box" .I mapped rad editor data to save in "Rich text-box" .Here the stored data of "Rich text-box"  font style and  spaces in paragraphs is getting lot of changes when saving from rad editor. 

Thanks,
MOHAMMAD SIDDIQALI
Rumen
Telerik team
 answered on 24 Jan 2012
1 answer
69 views
Currently, my RadChart's datasource receives what a method returns (a request LINQ to SQL). What i return is more precisely
a list of objects...

I would like to display underneath the X Axis a field of this objet ( a name for instance )

How is it possible to chose between the fields of an object those i want to use for my histogram

Thanks in advance for your help


PS: what i'm looking for looks a bit like this :
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/chartandtooltip/defaultcs.aspx?product=chart


Evgenia
Telerik team
 answered on 24 Jan 2012
1 answer
94 views
I have noticed when using the Hyperlink Manger to create links in the RadEditor, that if you only enter 1 word in the Tooltip field, that the rendered HTML does not include either single or double quotes around the text for the title parameter in the anchor tag. However, if you enter multiple words it does include double quotes.

Likewise, it does the same thing in the target field.

Adding links produces the following HTML in the editor control for single and multiple words:

<A title=MSN href="http://www.msn.com" target=_blank>MSN</A><BR>
<A title="MSN WEB SITE" href="http://www.msn.com" target=_blank>MSN Web Site<BR></A>

The problem I am having is that when trying to render these anchors in an HtmlTextBox in the ReportViewer control, it complains about the missing quotes giving the following error message:

An error has occurred while processing HtmlTextBox 'txtBestDomainPractice': 'MSN' is an unexpected token. The expected token is '"' or '''. Line 1, position 122.

It does this for the title field if they are missing there, or for the target field if the title field has quotes.

Is there a workaround or known fix for this?
Rumen
Telerik team
 answered on 24 Jan 2012
3 answers
217 views
Hi,
       I need a checkbox for grid grouping.
Regards,
    Aditya
  
Shinu
Top achievements
Rank 2
 answered on 24 Jan 2012
1 answer
126 views
Hello,

I currently have a grid that contains a select column, then all other columns are loaded programmatically during runtime. In my grid I have a "CommandItemTemplate" section where certain buttons are located - one being "Submit". When a user selects rows, and clicks "Submit", I need to retrieve the users selections on server side. 

Using the following code, I can access the data key value, but no other row data. In the example below, "myId" is correct, but the other variables are blank strings. I'm not reloading the grid on this postback, although I tried this and the same issue occurred.  I tried reloading my grid on page_init and page_load - both times I still cannot access my row data. Any suggestions?

foreach (GridDataItem item in this.grdSummary.SelectedItems)
{
    string myID = item.GetDataKeyValue("UidInt").ToString();
    string myOplockColumn = item["opLock"].Text;
    string myOrderColumn = item["order"].Text;
}

** One more thing, the "Submit" button opens a confirmation box (RadWindow) which then causes an ajax request if the user clicks "OK". Clicking "OK" calls "SetSubmitConfirmation". The button click does not fire an "ItemCommand" event, but instead, an ajax request passing an argument - InitiateAsyncRequest 


function InitiateAsyncRequest(argument) {
    var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
    ajaxManager.ajaxRequest(argument);
    return false;
}
 
function SetSubmitConfirmation(comment) {
    document.getElementById('<%=hdnComment.ClientID %>').value = comment;
    InitiateAsyncRequest('submit');
}


Jayesh Goyani
Top achievements
Rank 2
 answered on 24 Jan 2012
1 answer
295 views
hi ,

i write the following code  <MasterTableView EditMode="InPlace" Name="product" DataKeyNames="PKProductID" CommandItemDisplay="Top">  in aspx page
when i go into updatecommand or insert command i want to find out the table name (means product) for that i am using the following code
DirectCast(item.OwnerTableView,Telerik.Web.UI.GridTableView).Name BUT IT GIVE ALWAYS RESULT AS TABLE

what is the way to get that table name ?
Jayesh Goyani
Top achievements
Rank 2
 answered on 24 Jan 2012
2 answers
72 views

Hi,

I'm trying to validate one of a related radcombobox controls, but there is few problems (Please view the sample application):
1) In the usercontrol there is in addition to the radcombobox controls, a RadUpload control which must be validated too (Check size of an image).  So by addding a custom validator to the usercontrol, the related combobox (in the screen-shot) doesn't load the items and allways displays "Loading...".
But by removing the customvalidator control (Or even by removeing the "OnServerValidate="ImgRadUploadDimCustomValidator_ServerValidate"" property), then the related radcombobox loads all required items.

2) As it is known, the related combobox shows items by selecting the required item in the source combobox. So, I'm trying to set a Comparevalidator (Called "ParentIDCompareValidator") to the related comboboX (Which has a "Select Parent" item - default item).So By selecting the "Select Parent" item the validation message must be displayed.
I don't know how can I set a comparevalidator in order to enable it validate the selected item when the required items are loaded. Please try to enable the "ParentIDCompareValidator" control and you will see that the error message is allways displayed.

3) By clicking insert/Edit buttons, Only the default item value saved in the database, and not the selected item. Thats mean, if I select any item (except to the default item) and click submit, then the default item value ("1") saved on the DB.

Please, I need your help in order to solve the above problems.

Regards,
Bader

Bader
Top achievements
Rank 1
 answered on 24 Jan 2012
17 answers
488 views
Hello,

I have a problems with the radtreeview control:
1) Please view the page http://www.telerik.com/help/aspnet-ajax/ajax-ajax.html. You can see that by opeining the page, the radtreeview expands in order to show the appropriate node (Marked in red in the attached screen shot), how can I do that? Is there any sample code which demonstrate how to do that?

2) Some of the radtreeview have the value of "Folder" and other nodes have a value of "Document". Is there any way to drag and drop "Document" nodes into "Folder" nodes? Is there any sample code which demonstrate how to do that?

3) In the attached screen-shot the root node is invisible? How can I do that?

Here is my radtreeview code:
<asp:SqlDataSource ID="QAGuideSqlDataSource" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:GuidesConnectionString %>" 
                    SelectCommand="SELECT [SerID], ([Type] + '~/Guides/Pages/' + [Path] + '.aspx') as TypeAndFullPath, [ParentID], [Title], [Type] FROM [QAGuide] order by [Type],[Title]"></asp:SqlDataSource>
                <telerik:RadTreeView ID="QAGuideRadTreeView" runat="server" OnNodeClick="QAGuideRadTreeView_NodeClick" DataValueField="Type"
                    DataSourceID="QAGuideSqlDataSource" DataFieldParentID="ParentID" DataFieldID="SerID" DataTextField="Title" >
                    <DataBindings>
                        <telerik:RadTreeNodeBinding Depth="0" Expanded="true" />
                    </DataBindings>
                </telerik:RadTreeView>

Please, I need your help in order to handle the above issues.
It is very appreciated to send me a sample code.

Regards,
Bader
Princy
Top achievements
Rank 2
 answered on 24 Jan 2012
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?