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

I am using Telerik Radgrid in my page.I am providing pagination 
facility to the columns in the grid. Here in the grid for the first time pagesize is selected as 10  and we can change the page size accordingly. If records in the grid are less than 10 then i am not showing the pagination . It is working fine in IE and Firefox but in Chrome for the first time blank space is coming below the horizontal scroll bar  but when a postback occurs from then it is coming fine.

Can you please help me on this issue.

 <PagerStyle Mode="NextPrevAndNumeric" />

Thanks in advance.

Shinu
Top achievements
Rank 2
 answered on 20 Oct 2011
1 answer
196 views

hi dear telerik team :
my radgrid column like below :

<telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn_Benefit" DataField="Benefit"
                    HeaderText="Benefit" UniqueName="TemplateColumn_Benefit" FilterImageToolTip="Filter">
                    <ItemTemplate>
                        <asp:Label ID="lblBenefitInsideGrd" runat="server" Font-Size="11px" Text='<%# (bool)Convert.IsDBNull(Eval("Benefit")) ? "<span class=\"lblInsideGrd\">Empty</span>" : String.Format("{0:#,0 Dollar;#,0- Dollar}", Eval("Benefit")) %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" />
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="60px" />
                </telerik:GridTemplateColumn

how can i String.Format(reformat) Sum result in footer for this template column ?
mean i want something like {0:#,0 Dollar;#,0- Dollar} in output...

best regards

thanks in advance

Phil
Top achievements
Rank 2
 answered on 20 Oct 2011
3 answers
108 views

I have a real problem for my application. Hopefully it is just a setting I overlooked. If I select a non-root item and collapse the branch it is on, it remains selected even though I selected another visible item without the using the shift or control keys. I have selected an item and collapsed its branch. Then I selected another item. When I expand the branch with the previously selected item, it is still selected. Visible selections are cleared with new selections, so hidden selections should be cleared with new selections.
What am I missing?

Thanks,
Paul

Tsvetina
Telerik team
 answered on 20 Oct 2011
7 answers
242 views
Hello,
I am trying out some different skins on my RadWindows. For most of them, the titlebar is about 50% transparent. I would like to make the titlebar more readable. Is there a setting for this?

Thanks,
Dan
Dan Lehmann
Top achievements
Rank 1
 answered on 20 Oct 2011
2 answers
96 views
Hi,
Can you please fix the datagrid user control as edit form example? It seems to be missing:http://demos.telerik.com/ErrorPageResources/error.aspx?aspxerrorpath=/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx

thanks!

vitya
Viktor Takacs
Top achievements
Rank 2
 answered on 20 Oct 2011
3 answers
158 views
Hi all.

I have a question, Im currently working with radGrid and I need create hierarchy with this controls, but I need get data source from code-behind. In my first radgrid I can get data from code-behind but  I can't see the another radgrid in code.
I declared my two controls by this way:


<telerik:RadGrid ID="grdCompCliente" runat="server" Width="100%" Height="100px" OnItemDataBound="grdCompCliente_ItemDataBound1"
                   AutoGenerateColumns ="false" ShowGroupPanel="true">
                       <MasterTableView AllowMultiColumnSorting="True" >
                        
                       <NestedViewTemplate>
                       <asp:Panel runat="server" ID="InnerContainer" Visible="false">
                           <telerik:RadGrid  runat="server" ID="ID_Subasta" >
                               <MasterTableView>
                                  <Columns>
                                  <telerik:GridBoundColumn DataField="Id" HeaderText="ID">
                                    
                                  </telerik:GridBoundColumn>
                                  </Columns>
                               </MasterTableView>
                           </telerik:RadGrid>
                       </asp:Panel>
                       </NestedViewTemplate>
                            
                       </MasterTableView>
                   </telerik:RadGrid>


How can I do these?

Thank you for your attention!!
Jayesh Goyani
Top achievements
Rank 2
 answered on 20 Oct 2011
18 answers
422 views
I have 2 RadEditors amidst several textbox controls on a user control.
I can not tab to and from the text area inside each RadEditor Control. The tabindex is set.
It looks like it is tabbing to the control only and not the text inside.  I understand that the text area inside the control is an IFrame.
Is there a way to have textbox style tabbing with the RadEditors as a textbox?
Thanks
Bader
Top achievements
Rank 1
 answered on 20 Oct 2011
3 answers
287 views
Hi I am using RadPanelBar and creating the HeaderTemplate dynamically and bind the data to it which is coming from database. If you see the attached screenshot the Root item "Channel Queue" has some child panel items and I want on click of header it should show all child items and if I click the header again it should collapse. Is it possible ?

Now if I click the header for first time it is getting expanded and but on click of root panel it is not getting collapse. But it is getting collapsed only when i clicked other root items like (Case Identifier, Compliance or 2nd Level).

Can we achieve this functionality either by using java script / code behind ? 

Regards,
Nishith
Kate
Telerik team
 answered on 20 Oct 2011
0 answers
253 views
Hi,

I am using RadAsyncUpload for multiple file upload, now what i am looking for that somehow if i can access RadAsyncUpload at client side and convert all the upload files in one binary array object so that this binary array object can be passed to WCF method as input paramete that is calling from my javascript.

So What i am looking for is like below sample code
   var Radfile_uploader = document.getElementById(file_uploader_name);
var file_content = new Array();
for (i=0;i<=file_uploader.files.count -1;i++)
{
    var file_content = file_uploader.files[i].getAsBinary();
}

than i can pass this file_content to my WCF service as string.

Can anyone please tell me how to do for RadAsyncUpload in javascript ?

Thanks,
--Jai
Jai
Top achievements
Rank 1
 asked on 20 Oct 2011
5 answers
216 views
Hello,
I'm experiencing a problem when trying to save/load RadScheduler control to/from Viewstate.
There is an error:


[SerializationException: Type 'Telerik.Web.UI.RadScheduler' in 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' not marked as serializable.]
   System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +7733643
   System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +258
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +111
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) +161
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) +51
   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +410
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +134
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) +13
   System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +845

[ArgumentException: Error serializing 'Telerik.Web.UI.RadScheduler'.]
   System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +3395
   System.Web.UI.ObjectStateFormatter.Serialize(Stream outputStream, Object stateGraph) +110
   System.Web.UI.ObjectStateFormatter.Serialize(Object stateGraph) +57
   System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Serialize(Object state) +4
   System.Web.UI.Util.SerializeWithAssert(IStateFormatter formatter, Object stateGraph) +37
   System.Web.UI.HiddenFieldPageStatePersister.Save() +79
   System.Web.UI.Page.SavePageStateToPersistenceMedium(Object state) +105
   System.Web.UI.Page.SaveAllState() +236
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1099


Any ideas would be appreciated

Marek Witczak
thaya
Top achievements
Rank 1
 answered on 20 Oct 2011
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?