Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
41 views
I am debugging code written by another developer.  It is and ASP.NET / C # Web Application.  The ASP code (actually, the .aspx file) defines a control denoted as:
<tel:RadAjaxPanel...
Unfortunately, in the Visual Studio editor, the design view does not provide any usable content.  It says "Error Reading Control".  So this is why I am posting here.  How do I edit or view the settings related to this object?

In addition to the .ASPX.CS file that corresponds to the .ASPX file, I see that there is also a .ASPX.DESIGNER.CS file.  I think this must have something to do with this.  Is there some sort of editing tool or plug in I can use?
Maria Ilieva
Telerik team
 answered on 18 Apr 2013
1 answer
102 views
Hi.

I have unit dropdown on grid header which converts values from centigrade to kelvin. When I filter data first time (i.e. default unit C) it works perfectly, after conversion to kelvin i'm getting updated datatable from database, but when i tried to do filter on converted data it is not working.

Thanks,
Kumar
Eyup
Telerik team
 answered on 18 Apr 2013
1 answer
63 views
Hi,

I have a rad grid in which I have a column which is a template column and this column is always in edit mode.
The template column has a rad Date Picker. I want to set the rad date picker date in the RowCreated Client side event of the rad grid.

<telerik:GridTemplateColumn UniqueName="CustomerStartDate" HeaderText="Customer Start Date"
    DataField="CustomerStartDate" HeaderStyle-Width="80px" SortExpression="CustomerStartDate">
    <ItemTemplate>
            <telerik:RadDatePicker ID="radDatePickerCustomerStartDate" runat="server" DbSelectedDate='<%# Bind("CustomerStartDate") %>'
            ShowPopupOnFocus="true" DateInput-DateFormat="MM/dd/yyyy">
            <ClientEvents OnDateSelected="radDatePickerCustomerStartDate_OnDateSelected"></ClientEvents>
        </telerik:RadDatePicker>
    </ItemTemplate>
</telerik:GridTemplateColumn>

I have tried with this but its unable to do so,

var date = new Date();
args.get_gridDataItem().findControl(
'radDatePickerCustomerStartDate').get_element().set_selectedDate(date);

Please help me out. I need to do it in the RowCreated event handler on client side.
Bibhudutta
Top achievements
Rank 1
 answered on 18 Apr 2013
1 answer
163 views
I am having trouble getting the DataNavigateUrlFormatString to work properly with client-side databinding.

I am binding the RadGrid client-side to a serialized collection of JSON objects.  One of the object's properties is a JobID, which is a string representation of a GUID such as 'E45FA7DC-EAE5-4443-B72D-806D18FAE428'

I need to pass this string to a Javascript function, I am using a GridHyperlinkColumn in the RadGrid to do this:

<telerik:GridHyperlinkColumn DataTextField="JobStatus" HeaderText="Job Status" DataNavigateUrlFields="JobID"
        DataNavigateUrlFormatString="javascript:OpenJobInfoWindow('{0}');" >
    <ItemStyle Width="180" />
</telerik:GridHyperlinkColumn>

I am getting the Javascript error "Unexpected token {" after calling the mastertableview.dataBind() function in Javascript (Google Chrome):
Uncaught SyntaxError: Unexpected token {
Telerik.Web.UI.WebResource.axd:12965
Telerik.Web.UI.GridTableView._prepareHyperLinkColumnElement Telerik.Web.UI.WebResource.axd:12965
Telerik.Web.UI.GridTableView.dataBind Telerik.Web.UI.WebResource.axd:12883
RefreshSummaryCallback Status.aspx:216
l Telerik.Web.UI.WebResource.axd:6
(anonymous function) Telerik.Web.UI.WebResource.axd:6
Sys.Net.WebRequest.completed Telerik.Web.UI.WebResource.axd:6
_onReadyStateChange

This appears to have to do with the DataNavigateUrlFormatString.  From what I can tell, it specifically has to do with having single quotes around the {0} placeholder in the DataNavigateUrlFormatString property of the RadGridHyperlinkColumn.  If I remove these, everything binds correctly:
<telerik:GridHyperlinkColumn DataTextField="JobStatus" HeaderText="Job Status" DataNavigateUrlFields="JobID"
        DataNavigateUrlFormatString="javascript:OpenJobInfoWindow({0});" >
    <ItemStyle Width="180" />
</telerik:GridHyperlinkColumn>

Problem is, I have to have the single quotes there, since the value I am passing as a parameter to OpenJobInfoWindow is a string.  What can I do to make this work?
Antonio Stoilkov
Telerik team
 answered on 18 Apr 2013
3 answers
105 views
please help me ! When i upload my image to ImageManager , but i don't see my image, i just see a blank image. when i using imageeditor i see this image.
Rumen
Telerik team
 answered on 18 Apr 2013
3 answers
303 views
I am working on some charts that need to have the x-axis labels angled at a -45 degrees.  When I do this the labels are centered on the tick marks.  I was wondering if there is a way to adjust the position of the labels to where the end of the label will line up with the tick marks instead of the label being centered on the tick marks.
Danail Vasilev
Telerik team
 answered on 18 Apr 2013
4 answers
118 views
Hi,
     when my radgrid is in edit mode , On pressing a button in the particular row (not a Update or Cancel) I need to fetch a cell value . Also I need to disable the edit mode. Wat i am using is

Aspx.cs
------------

 

protected

 

void btn_Click(object sender, EventArgs e)

{

Button btn = (Button)sender;

GridDataItem item = (GridDataItem)btn.NamingContainer;

TableCell cell = (TableCell)item["Id"];

string ID = cell.Text;

Label lbStatus = (Label)item.FindControl("lblStatus");

string Status = lbStatus.Text;
:
:
}
using this code i can fetch the status (lblStatus) value but the id value i got is &nbsp. How can i fetch the correct value of the cell "Id" & disable the edit mode pls help with a code. Thanx in advance..


Siva
Top achievements
Rank 1
 answered on 18 Apr 2013
3 answers
147 views

1.    Recently, our project upgraded from 2010.1.415.40 of Telerik to 2013.1.220.40 and features like Sorting, Pagination doesn’t seem to be work on IE 8/9 or Mozilla browsers. Is there anything that we are missing? The existing Telerik version works fine on IE 8 and Mozilla. We did this upgrade to make our application compatible with IE 9.

Angel Petrov
Telerik team
 answered on 18 Apr 2013
1 answer
113 views
Hi,

I can not read from the documentation for the Gridview: http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx
if it is possible to style the collapse / expand buttom in a nested grid.

Is it possible to use a image or html feature like "button" instead of the >

Example
Shinu
Top achievements
Rank 2
 answered on 18 Apr 2013
0 answers
94 views
I have webpart in sharepoint 2010
and i have grid view with edit form , one of the template control is radupload. 
when I click add new record , the rad page view crashes it should be on right side of page , it go to left and will take action when click. 
and the radupload control is not loaded. i tried the asyUploadControl ,, the same issue. 
I replace it with normal ASP.NET upload contorl . every thing went perfect... 

any idea how to solve this?
Mohammad
Top achievements
Rank 1
 asked on 18 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?