Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
145 views
Hi,

I am binding grid which has some bound fields and some template fields.
Issue is only bound fields are binding to grid & not the template fields.
In template fields (Item template, i have some textboxes and one dropdownlist)
Any help is appreciated.
Can anyone send me sample code or example.
Shinu
Top achievements
Rank 2
 answered on 25 Feb 2011
1 answer
104 views
i am changing column names for grid in code behind

 

 

if (fr == 1)

 

 

{

 

 

 

if (e.Item is GridHeaderItem)

 

 

{

 

 

 

GridHeaderItem headerItem = (GridHeaderItem)e.Item;

 

 

headerItem.Cells[2].Text =

 

"New Name";
}
}
It works fine.But after it i cant sortthis column by clicking on column name?

 

Princy
Top achievements
Rank 2
 answered on 25 Feb 2011
2 answers
120 views

Hello,

When I use a RadComboBox in a TreeListTemplateColumn ItemTemplate, it fails to render properly.
Please see attached image. I tested in IE8 and Firefox. Telerik Version: 2010.3.1317.40.

 

 

 

<telerik:TreeListTemplateColumn DataField="ProcessNameTemplate" UniqueName="ProcessNameTemplate" HeaderText="">
  <ItemTemplate 
     <telerik:RadComboBox ID="rcb" runat="server" 
         Visible="true" AutoPostBack="true" onselectedindexchanged="rcb_SelectedIndexChanged" ></telerik:RadComboBox>   
    </ItemTemplate>
</telerik:TreeListTemplateColumn>

Thank you.

TheLostLeaf
Top achievements
Rank 2
 answered on 24 Feb 2011
3 answers
133 views
Hi,
Can anyone please help with the following issues. I am using file explorer and trying to upload mp3 and wmv files but getting error. the error is "Connection was reset, The connection to the server was reset while page is loading". I am also trying to make seletect multiple files together. Is it possible? and one more thing like I am trying to achieve to upload zip file with multiple contents and after upload unzip all contents. for unzip the file I am using DotNetZip library. How can I do that in server side. please find my demo project. If anyone can help me it would be really appreciated.
Click to download sample code
Dobromir
Telerik team
 answered on 24 Feb 2011
1 answer
100 views
Hi Techies,

When i am trying to export my TelerikGrid to PDF, I am getting the following error, But its generating EXCEL report with out any problem.

System.NullReferenceException: Object reference not set to an instance of an object.
  at Telerik.Web.Apoc.Render.Pdf.Fonts.Type2CIDSubsetFont.get_WArray()
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.CreateCIDFont(String pdfFontID, Font font, CIDFont cidFont)
  at Telerik.Web.Apoc.Pdf.PdfFontCreator.MakeFont(String pdfFontID, Font font)
  at Telerik.Web.Apoc.Pdf.FontSetup.AddToResources(PdfFontCreator fontCreator, PdfResources resources)
  at Telerik.Web.Apoc.Render.Pdf.PdfRenderer.StopRenderer()
  at Telerik.Web.Apoc.StreamRenderer.StopRenderer()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)


Can any one please help me on this?

Thanks
Sreeni Pavalla
Daniel
Telerik team
 answered on 24 Feb 2011
1 answer
86 views
Hi ,

 I am getting the following error when i am trying to export Telerik grid to PDF

"Invalid XHTML. RadGrid has to render correct XHTML in order to export to PDF.
Parse error:
An error occurred while parsing EntityName "

any suggestions on this?

Thanks
Sreeni Pavalla
Daniel
Telerik team
 answered on 24 Feb 2011
6 answers
1.1K+ views
Hi,
We bought Telerik ASP.NET controls, and I'm now trying to use a RadTextBox in a stretchable layout. I set RadTextBox's Width to
new Unit(100, UnitType.Percentage) 
but in runtime I see that width is dynamically maintained by Telerik's scripts directly on <input> using "style" attribute and is always set to exact pixel value. And Telerik's scripts make the width visually correct (logically 100% in a layout) only on initial page load. If I resize browser window after page is loaded, width of RadTextBox is not updated and ruins layout.

From forum posts I see that Width handling is a known problem here. But since we are bound by contract terms to deliver application by a fixed deadline, I need at least know when the bug will be fixed by Telerik and released to customers.

Can you give us estimates on when the Width fix will be released?
Leon Aiossa
Top achievements
Rank 1
 answered on 24 Feb 2011
3 answers
587 views
Hello,

When I try to position the RadButton with to the right with:

 

.RadButton_Right,
  
.RadButton_Right .rbDecorated
  
{
  
position: absolute;
  
width: auto;
  
right: 0px
  
}

it doesn't seems working, but it work fines with RadTextBox or other Asp Button, Asp TextBox, I wonder what's the proper way to do it?
Because I want to have few buttons on the left, and a another Button on the right...
Thanks

King Chan
Top achievements
Rank 1
 answered on 24 Feb 2011
5 answers
123 views
Hello there, I just started using this control, and love it. I just have a few questions that I haven't been able to find through the demos yet:

  1. Is it possible to disable the timeline view all together, so that only day, week and monthly views are available ?

  2. Is it possible to add line breaks to the appointment subject text ?, I tried adding \n and/or <br> to the subject string, but they are not rendered as line breaks.

  3. In the monthly view, the appointment subject is trimmed because the appointment boxes are too small. I need the boxes to expand to accommodate large appointment subject strings, even if it means expanding the calendar row as well.

  4. I am wondering if there is an easy way to programmatically detect appointment conflicts ?
Any help/pointers would be greatly appreciated, thank you very much !

Max
Max Figueredo
Top achievements
Rank 1
 answered on 24 Feb 2011
7 answers
875 views
Hi,

I have a RadComboBox with AutoPostBack set to true, but when i change te selection with javascript, it makes a post to the server, I'm looking for a way to (temporary) disable this behaviour. Is this possible?

I'd rather not implement clientside combobox events, which would cancel the selectionchanged event.

Below a bit of code.
var field = $find(controlid);
if (field) {
    field.disableEvents();
    var comboItem = new Telerik.Web.UI.RadComboBoxItem();
    comboItem.set_text("val");
    comboItem.set_value("val");
    field.set_enabled(true);
    field.trackChanges();
    field.get_items().clear();
    field.get_items().add(comboItem);
    comboItem.select();
    field.disable();
    field.commitChanges();
    field.enableEvents()
}


Jeanne Kornkven
Top achievements
Rank 1
 answered on 24 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?