Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
162 views
Hi,
In the latest version of the RadEditor the "Real Font Size" tool drop-down shows a list of pixel based sizes. It used to show point based sizes - e.g. 8pt, 10pt, 12pt, etc. Now it shows 8px, 10px, etc.
Is this a deliberate change?
Clayton
Nikolay Raykov
Telerik team
 answered on 19 Jan 2009
1 answer
173 views
I have a Radgrid which binds to a dataset to display four columns per row of a database table. This table is in fact much larger and contains many foreign key references.

If I select a row to edit I would like to extract the datakey(PK) and fetch the full business object with all related objects (foreign key objects) and assign it to the DataItem object of the GridEditFormItem object. I have databinding expressions in my page which I would like to keep which are set to bind to a business object graph in the Edit form.

My reason for not initially binding to the full object is the size and number of database calls required to fetch each object and related objects to simply display four properties in the grid in order to decide which object to edit.

How would I achieve the above scenario without manually doing a findcontrol for each control in my edit form template and assigning each property to each control as I already have the databinding syntax in the edit form ?

Example of implementation:
protected void Grid_OnRowEditing(object sender, ???args e)????? {  
      string primaryKey = e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["PrimaryKey"].ToString();  
 
BusinessObject ob = MyDataManager.GetBusObjectByPrimaryKey(primaryKey);  
e.Item.DataItem = (object)ob;  
 
//// The EDIT form would then bind to the above object and NOT the Dataset used to display the grid data.  
{}
Nikolay Rusev
Telerik team
 answered on 19 Jan 2009
3 answers
112 views
I am running the RadGrid on DNN. I have a RadGrid and a button that, when pressed, exports the RadGrid contents in ExcelML format.

Everything works great if I load the page in an Insecure Connection.  However, if I load the page with a secure connection and click the Export Button, I get an error (at least in IE - haven't tried in other browsers) stating that IE cannot locate the page.

Any thoughts?

Thanks,
Joshua
Sebastian
Telerik team
 answered on 19 Jan 2009
3 answers
100 views
How do I apply the same background color on Den details View as the MasterView

This is how my Theme css file looks like

.GridRow_Default

 

{

 

background: #f7f7f7;

 

 

height: 22px;

 

}


.GridAltRow_Default

{

 

background-color: #eeeeee;

 

 

height: 22px;

 

}

Right now I got the alternate color in the detals row but I want it to look like it's MasterView

Sebastian
Telerik team
 answered on 19 Jan 2009
1 answer
200 views
I'm trying to get some columns left of the scheduler, each cell belonging to a vertical resource header. See http://www.isonet.ch/images/TelerikSchedulerPrototype.JPG for prototype. Is that possible?
Peter
Telerik team
 answered on 19 Jan 2009
3 answers
157 views
I've got a page that has several input (RadTextBox, RadNumericTextBox, RadComboBox, and RadDatePicker) controls on it.  Everything's working fine, but we inadvertently found that if you press the Escape key twice while you still have the focus of one of the controls, they all reset.  I don't really anticipate this being a problem, but is there a way to avoid this?

Thanks,

Eric Skaggs
Dimo
Telerik team
 answered on 19 Jan 2009
1 answer
105 views

Hi..

      I have finished a report passing a single parameter through web form.. Now i am trying to pass multiple parameters

in a single report.I need your help...

                            By Suriya Narayanan

Steve
Telerik team
 answered on 19 Jan 2009
4 answers
157 views
Hi.
We are using the latest full version (4.5.1.0) of the radeditor for Moss2007.
For inserting images, we want to user the Mossimagemanager instead of the Radeditor one.(For the browsing capabilities)
This works mostly fine, except when you try to insert an image into a table cell.
I'm adding a table with "Insert table" and the following html is generated:(kept it simple here, just one cell)

<table cellspacing="0" cellpadding="0">
    <tbody>
        <tr>
            <td> </td>
        </tr>
    </tbody>
</table>


Everything fine so far. but when I want to insert an image to the cell something goes wrong:(I'm placing the cursor inside the cell then click add image)

<table cellspacing="0" cellpadding="0">
    <tbody>
        <tr>
            <img alt="" style="border-right: 0px solid; border-top: 0px solid; border-left: 0px solid; border-bottom: 0px solid" src="http://moss2007/PublishingImages/pic.jpg" border="0" />
        </tr>
    </tbody>
</table>

Seems that "something" is removing my <td> and </td> tags.

Any idea why? Can it be easily fixed? I've been poking around MOSSEditorTools.js but I'm not so familiar with javascripts...

Regards
Thomas






Lini
Telerik team
 answered on 19 Jan 2009
1 answer
106 views
Hello,

I have a grid within a grid, using the radGrid as the parent grid and the GridTableView as the child grid. In the child grid, I have a template column which gets a RadDatePicker added to it. This all works wonderfully, however it results in pages that are > 500kb even if there are only 10 child rows being shown (it seems that the radCalendar is fairly heavy).

I came across the following example to use the SharedCalendar property of a RadDatePicker:

http://demos.telerik.com/aspnet-ajax/Calendar/Examples/Design/Sunny/DefaultCS.aspx

These examples work great for me if I'm not dynamically adding RadDatePickers to the form.

However, when using the GridTableView, I'm adding the RadDatePickers dynamically. So it makes sense for me to dynamically set the .SharedCalendar property to my shared calendar. I cannot however make this work - when I click on the RadDatePicker, the calendar is not shown.

I've tried setting the .SharedCalendar property in my template class for the template column. I've also tried setting it on the itemDataBound event of the parent grid. Niether works.

I'm guessing I'll be asked to post an example of the project, which I'm willing to do. However, I'm hoping there's a quick fix to this...

Thanks!
Yavor
Telerik team
 answered on 19 Jan 2009
2 answers
167 views
How can I change the minimum value for the Y-Axis when loading data dynamically from a database? I have tried the following code in ItemDataBound but no joy:

If

 

e.SeriesItem.YValue < e.ChartSeries.PlotArea.YAxis.MinValue Then

 

e.ChartSeries.PlotArea.YAxis.MinValue = e.SeriesItem.YValue

 

End If

 

Ves
Telerik team
 answered on 19 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?