Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
55 views
Hello
We use the Editor in a Wiki Site inside MOSS 2007
When I insert a link with a target _top in the HTML, and switch back to normal, the target is gone

The only target that remain is the _blank

Could you please help on that
Thank you
Yasser
Rumen
Telerik team
 answered on 11 Oct 2010
1 answer
128 views
Hi,

I have a grid with autogenerate columns set to true.

In ItemDataBound I add an image to a cell.

protected

 

 

void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)

 

{

 

 

if (this.reportProvider.HtmParams.ImageColumns.IsConfigColumn("TargetMet"))

 

{

 

 

if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem)

 

{

 

 

if (e.Item.DataItem != null)

 

{

 

 

DataRowView row = (DataRowView)e.Item.DataItem;

 

 

 

string sImg = ImageColumnHandler.GetImage(ImageColumnHandler.KPI_TARGET, System.Convert.ToDouble(row["TargetMet"]));

 

 

 

Image img = new Image();

 

img.ImageUrl =

 

this.Request.ApplicationPath + "/Images/" + sImg;

 

 

 

GridDataItem item = (GridDataItem)e.Item;

 

 

 

TableCell cell = item["TargetMet"];

 

cell.Controls.Clear();

cell.Controls.Add(img);

}

}

}

 

 

}

 

 

 

 

 

 

In Html it looks just wonderfull.
Pdf export fails to display the image. It just shows the value from the datasource.

How can I add images in codebehind to a RadGrid with autogenerate columns set to true in a way it is safe for pdf export?

Daniel
Telerik team
 answered on 11 Oct 2010
1 answer
82 views
I can't seem to get a transparent background for my Radeditor.

I'm dynamically adding the radeditor to a raddock, that is in a radzone.

Here's a project that demonstrates the problem (the actual code is buried deep in my application).

http://www.kensblog.com/uploads/16765/demoproject.zip

-Ken Williams

PS Urgent!!!!
Rumen
Telerik team
 answered on 11 Oct 2010
5 answers
163 views
Hi,

I want to navigate through a recordset, record by record, and show record data by a web form, that contains whatever data controls, like text box, check box, ..etc. I need a kind of asp.net control like record navigators, that contains move next, move previous, move last, etc..
if anybody suggest a third parity tool, please send their info.

Thanks
Kiara
Top achievements
Rank 1
 answered on 11 Oct 2010
1 answer
73 views
In my radgrid i am freezing the first 3 columns, which works fine when it comes to IE7 but when i open the same page in IE8 the columns go out of sync.
is this a know problem or am i doing something wrong in a way where i have to add some style for it to work in IE8.
i refered to the below link
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-column-headers-out-of-sync-ie8.aspx
which suggested me to add compatibility tag to my pag, but if i do this it is affecting the other styles which i have defined in the page.
let me know if you guys know of any workaround for this.
thanks...
Dimo
Telerik team
 answered on 11 Oct 2010
1 answer
218 views
Hi,

i am using RADTextbox when i  set ButtonCssClass,the Image of button is not changing it is disappering.

 <style>
   
.MyButton
   {
     background:url('CustomButton.gif') 0 0 no-repeat !important;
   }
   
</style>
<telerik:RadTextBox
  
ID="RadTextBox1"
  
runat="server"
  
ShowButton="True"
  ButtonCssClass="MyButton">
</telerik:RadTextBox>
Dimo
Telerik team
 answered on 11 Oct 2010
1 answer
501 views
Problem: you want to use one of the Telerik skins (e.g. Sunset) for styling but don't like the garish colouring used to show selected rows in a RadGrid.

Solution: you can "undo" the selected-row styling with these style-sheet commands:

.RadGrid_Sunset .rgRow td
{
border-color:#FFFFFF #FFFFFF #FFFFFF #CABAAB !important;
}
 
.RadGrid_Sunset .rgAltRow
{
background:none repeat scroll 0 0 #F1E9DC !important;
}
 
.RadGrid_Sunset .rgAltRow td
{
border-color:#F1E9DC #F1E9DC #F1E9DC #CABAAB !important;
}
 
.RadGrid_Sunset .rgRow
{
background: inherit !important;
}
 
.RadGrid_Sunset .rgRow td, .RadGrid_Sunset .rgAltRow td
{
border-left: solid 1px #CABAAB !important;
padding-left: 7px !important;
}
 
/* finally, need to put this one back in */
 
.RadGrid_Sunset .rgHeader:first-child, .RadGrid_Sunset th.rgResizeCol:first-child, .RadGrid_Sunset .rgFilterRow > td:first-child, .RadGrid_Sunset .rgRow > td:first-child, .RadGrid_Sunset .rgAltRow > td:first-child
{
border-left: 0 none !important;
padding-left: 8px !important;
}

This effectively counteracts the styles coming from the .rgSelectedRow class (and used by the skin) by re-inserting the normal (i.e., non-selected) styles in all circumstances ("!important").

Note that I haven't tried this for other skins; I am assuming it will be similar, however, although the border colours will obviously need to be changed.
Dimo
Telerik team
 answered on 11 Oct 2010
3 answers
343 views
I've a RadTextBox in EditItemTemplate of a RadGrid. In edit mode, while the cursor is in the RadTexBox I like to hit enter/return key on the keyboard and trigger the server side UpdateCommand event of RadGrid.  Can someone please advice how I can achieve this? Thanks.
Sebastian
Telerik team
 answered on 11 Oct 2010
1 answer
245 views
Hi,

We are using .NET 4.0  does ur rad grid optimization supports 4.0. In one of ur demos it has mentioned that it suppports only .net 3.5. We are extensively using RadGrid. Is there any sample to optimize our rad grid in .net 4.0.
Below mentioned is our application URL. We used rad grid in almost all our screens.
http://test.aptisys.com/UOMSetup.aspx 

But in ur demo site as mentioned that it support only .NET 3.5

This demo illustrates the optimized performance techniques incorporated in the ASP.NET 3.5 build of RadGrid. The control takes advantage of the new LINQ (Language Integrated Query) syntax introduced in ASP.NET 3.5 and performs aggregate calculations or executes sorting/filtering/paging operations by means of native LINQ expressions. This technique significantly reduce the time necessary to process these actions "behind the scenes" and allows you to handle millions of records within a few milliseconds.

For better visual indication we output the period of time between the Init and Render stages of the control lifecycle just below the grid table. Please bare in mind that these optimizations are available only in the ASP.NET 3.5 build of the grid (the assembly resides in the /bin35 folder of the installation).

Pls advice. To optimize our grid performance.

Thanks & Regards
Pavlina
Telerik team
 answered on 11 Oct 2010
1 answer
140 views
Hello All,

I am using client side setting for RADgrid by using web service. my next task is to maintain filters and grid result for some time.

Like, User filter employee list by salary and go to edit employee information and when user comes back the result should be in the same state.

so is there any inbuilt setting in RADGrid :) to maintain filter and sorting status on client side ?

Thanks a lot.
Maria Ilieva
Telerik team
 answered on 11 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?