Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
167 views
I am attempting to make a page that creates a form using Rad controls.  This involves creating the html in code and then updating the innerhtml of a div to display the form.  This is not seem to work with rad controls.

In my asp page there is a div
<div id="JoinFormTable" runat="server"></div>

The div is updated to two ways,
one in the asp page called by on a ajax return call with some html
function GroupFromRowColumnResponse(response) {
   var data = response.d;
   $('#<%= JoinFormTable.ClientID%>').html(data.formHtml);
}
The other in the page load of the asp
protected void Page_Load(object sender, EventArgs e)
{
....
JoinFormTable.InnerHtml = group.GetJoinFormDesignHtml();
....
}

And the form html with one textbox look likes this
<table  class='FTable'><tbody><tr><td class='FColLbl'><label class='FColLblLbl'>Hours</label></td><td class='FColCtrl'><telerik:RadTextBox InputType ='Text' ID='Hours'  EmptyMessage='Hours' Runat='server'></telerik:RadTextBox></td></tr></tbody></table>

If I put this html in the asp it works fine, inserting it fails on the RadTextBox, only the Hours label shows.

When updating real time from javascript using the html function only the Hours label shows up, no errors.

When the Page_Load creates the form table on div.innerHtml, this error occurs in Chrome
Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo: RadTextBox 

Can Rad controls be added in an html string in real time?

Thanks,
George
Konstantin Dikov
Telerik team
 answered on 18 Nov 2014
2 answers
116 views
I have a High quality image but when i upload it on Image editor and save it on the machine ,then open the saved image its quality gets very low ..also i see some small dots around the items on the image i am giving you the image.I have also checked it in your demo. I am using your latest 2014 release.
Vessy
Telerik team
 answered on 18 Nov 2014
3 answers
109 views
Hi!

It seems that the Q3 version is not rendering any IDs for the SVG child elements. Is there any reason for that?
The disadvantage is that I cannot get SVG elements via jQuery, i.e.
$('#<shapeId>')
Maybe there is some other possibility to manipulate the SVG children?

Best regards,
Hans
Slav
Telerik team
 answered on 18 Nov 2014
1 answer
550 views
When I expand a node all other expanded nodes should be collapse except for the parent node of the expanded node. How can this be accomplished?
Aneliya Petkova
Telerik team
 answered on 18 Nov 2014
0 answers
102 views
Hello,

Recently you guys released the new version of controls. After upgrading to the lastest version we  are facing prblem in UI. Please find the screen shots as below. But when we revert back to older version everything is working fine.
sharath
Top achievements
Rank 1
 asked on 18 Nov 2014
1 answer
148 views
Ok, I have gone through the documentation and differetn posts but cannot find an eample that shows for my situation.  i want to change the background color of an ID that comes from my database.  I am bring the intstatusID from my database, where can I assign it that I can get ahold of that value and then change the background color of it based on the value.  thank you

<telerik:RadScheduler ID="rsTACCUsage" runat="server" DataKeyField="intLeaseDateId" Skin="Web20" DataStartField="dtStartDate" DataEndField="dtEndDate" DataSubjectField="Subject"
                           SelectedView="MonthView" Height="800px" AllowEdit="false" AllowInsert="false" AllowDelete="false" CustomAttributeNames="strOrgType">
                       </telerik:RadScheduler>
 
 
 
sql = "select d.intLeaseDateId, d.dtStartDate, d.dtEndDate, 'Lease Name: ' + l.strLeaseeName + '  Event: ' + l.strEventType Subject, l.intStatusID from tblLeaseDates d LEFT JOIN tblTaccLease l on l.intLeaseId = d.intLeaseId where l.intArmoryId = " & Armory
           
           rsTACCUsage.DataSource = getReader(sql)
           rsTACCUsage.DataBind()
Boyan Dimitrov
Telerik team
 answered on 18 Nov 2014
1 answer
118 views
I would like know the compatible version of jQuery for the Telerik.Web.UI 2011.1.614.35.

Any help is appriciated

Thanks
Dan
Danail Vasilev
Telerik team
 answered on 18 Nov 2014
1 answer
91 views
Hi,

I'm trying to set the value of progressbar in the label but sometimes work and sometimes not! I simple copy the code that's in the documentation but sometimes the label appears once and sometimes appers twice.

<telerik:RadProgressBar runat="server" ID="RadProgressBar1"  BarType="Percent" MaxValue="100" Value="33" Width="250" Orientation="Horizontal" ShowLabel="true" Skin="Silk"></telerik:RadProgressBar>

I've attatched a sample image that shows what I'm trying to explain.

I'm using the progress bar inside a template column of a grid.

What's missing me ?

Thanks in advanced.
Luís Maurício
Slav
Telerik team
 answered on 18 Nov 2014
5 answers
230 views
hi
which find control for example, button, in RadListView1_ItemEditing

i try below code,but give error.



  protected void RadListView1_ItemEditing(object sender, RadListViewCommandEventArgs e)
    {
RadListViewEditableItem editedItem = (RadListViewEditableItem)e.ListViewItem;

 RadTextBox txtSubject =(RadTextBox)editedItem.FindControl("txtSubject");

txtSubject .Text="hi";

}
please help me.
thanks
Konstantin Dikov
Telerik team
 answered on 18 Nov 2014
11 answers
645 views
Hi
I have a question regarding radgrid header. I want to make 4 headers  in the grid redirect to a  different page and display as a link. How can i capture the click event of the header as i have to  loop through the radgrid and get the values of that column (header clicked column) to update the table.

Thanks,
Rajeswari Raman
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?