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

I'm getting Rtf content from Database and assign this content to one string and then assign this string into rad editor ..

but i'm getting ? this symbol in Rad content Where ever i've null space.

See attached Images..

Please Give me the Solutions

as soon as ...

Regarads,
Ashok Anbarasu
Rumen
Telerik team
 answered on 30 Aug 2010
1 answer
222 views
Hi,

In my SQL DB, I have a column as VarBinary and stored .TIF images.  I tried to use RadBinaryImage but it gives blank.  Does RadBinaryImage support TIF image?

Thanks,
Tom
Rosen
Telerik team
 answered on 30 Aug 2010
4 answers
369 views

Hello,

I am using <EditItemTemplate> in my radgrid and want to adjust the layout of the edit form table column cells. The problem is that I want to set the horizontal and vertical attributes of the cells that hold the item label and the input control.

So for example, currently the label is centered and the input control looks like it is aswell, so when there is multiple rows (for example, in the below code they get 'Name' and 'Description' fields to edit) they do not line up well in the edit form.

For example, what I want to be able to do is set the label (header?) to align to the right, and the input control (textbox) to align to the left. This would make a clean and consistent look to all the edit rows.

I have tired all types of things and have affected just about everything else, including the form that holds the edit rows, but could not figure out how to affect the actual cells of the edit rows.

Here is the vb radgrid code:

 

 

 

 

 

<telerik:RadGrid ID="sections" runat="server" GridLines="None" Skin="Office2007"
                    OnItemDataBound="section_ItemDataBound" OnNeedDataSource="section_NeedDataSource"
                    AutoGenerateColumns="False" OnDeleteCommand="sections_DeleteCommand" OnInsertCommand="sections_InsertCommand"
                    OnUpdateCommand="sections_UpdateCommand">
                    <ExportSettings ExportOnlyData="True" HideStructureColumns="True" IgnorePaging="True"
                        OpenInNewWindow="True">
                    </ExportSettings>
                    <MasterTableView CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Add Section"
                        ItemStyle-HorizontalAlign="Left" AlternatingItemStyle-HorizontalAlign="Left"
                        DataKeyNames="sec_id">
                        <CommandItemSettings AddNewRecordText="Add Section"></CommandItemSettings>
                        <Columns>
                            <telerik:GridBoundColumn UniqueName="sec_id" HeaderText="ID" DataField="sec_id" Visible="false"
                                ReadOnly="true">
                            </telerik:GridBoundColumn>
                            <telerik:GridTemplateColumn HeaderText="Name" UniqueName="label" ItemStyle-Width="300">
                                <EditItemTemplate>
                                    <asp:TextBox ID="label_edit" runat="server" Text='<%# Bind("label") %>' Width="400"
                                        MaxLength="250"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="(required)"
                                        ControlToValidate="label_edit"></asp:RequiredFieldValidator>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <a href='/view/Default.aspx?sec_id=<%#DataBinder.Eval(Container.DataItem, "sec_id") %>'>
                                        <%#Eval("label")%></a>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn HeaderText="Description" UniqueName="description">
                                <EditItemTemplate>
                                    <asp:TextBox ID="description_edit" runat="server" Text='<%# Bind("description") %>'
                                        Width="400" TextMode="MultiLine" Rows="2"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="description_view" runat="server" Text='<%# Eval("description") %>'></asp:Label>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridButtonColumn CommandName="Edit" Text="Edit" UniqueName="EditSection"
                                ItemStyle-Width="30" ItemStyle-HorizontalAlign="Center">
                            </telerik:GridButtonColumn>
                            <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="DeleteSection"
                                ItemStyle-Width="40" ItemStyle-HorizontalAlign="Center">
                            </telerik:GridButtonColumn>
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>

 

 

 

Dimo
Telerik team
 answered on 30 Aug 2010
2 answers
53 views
Hi,

Can the column widths be changed when editing the details of a record? By that I mean, if you have a master details scenario and the edit button is clicked on the master record, a detail record of several columns is displayed for edit. The column widths in the details record all seem to be the same size and I can't seem to figure out how to modify the column width. I.e. I may have a detail item that is a textbox that can be 200 characters long. Also in the details I have a "Notes" text area. I would like that to be several rows high. Can this be done with the defualt set up of the radgrid? I understand that I could specify a table but I just wondered if there was an easier way using the telerik:GridBoundColumn, telerik:GridTemplateColumn of the Columns section of the MasterTableView section of the RadGrid

Thanks
Dan R.
Dan
Top achievements
Rank 1
 answered on 30 Aug 2010
7 answers
471 views
I have a form that is split up into multiple tabs (with a RadTabStrip and a RadMultiView).  for other reasons I have to have a postback when the user switches tabs, and the user can switch tabs and cause several postbacks before the form is saved.

I have a RadUpload on the 1st tab.  When I browse for a document, then switch tabs, then come back to the 1st tab, the RadUpload is empty as if I never browsed for a document.   I tried a regular asp:FileUpload control and it behaves the same way.

Is there a way to make it "remember" between postbacks which document I chose? Or am I limited to saving the uploaded document right away with the 1st postback after the user chooses a document?

Thanks in advance.
Vasssek
Top achievements
Rank 1
 answered on 29 Aug 2010
1 answer
103 views
Hai,

I have a combobox. I have written javascript for client side events, followed the same as described in telerik support site. But unfortunately, clients side events are not firing. Please help me.

Thanks & regards,
Regeesh
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 29 Aug 2010
2 answers
63 views
Hi,

Have a button 'Show All' inside CommandItemTemplate of the grid.
On click of that button, need to show all grid data into single page without paging.

If anybody has code for this please share with me.

 Button to show all grid data in a sigle page
naimish
Top achievements
Rank 1
 answered on 28 Aug 2010
0 answers
70 views
HI,
The radmenu link can't show chinese?
eg. the link is xxx.com/動作 wll change to xxx.com//%e5%8b%95%e5%85%a5 ?

who can help me?

ray
kk
Top achievements
Rank 1
 asked on 28 Aug 2010
6 answers
668 views
Hi,

I am puzzled: Why does exporting to excel takes such a looooooooong time?

Getting data from database into a DataTable takes 5 seconds. Then I bind RadGrid to this DataTable in server side (RadGrid visible = false). Now it takes more than a minute to export it to excel (until I get the save/open file prompt). Is there any way to directly export DataTable to Excel? If, not is there any way to make export to excel much faster.

Here's the code (RadGrid's visibility is set to false, just exporting data from user selected dropdowns to excel):

            RadGrid1.AutoGenerateColumns = true;
            RadGrid1.DataSource = myDataTable; //from database
            RadGrid1.DataBind();

            RadGrid1.ExportSettings.ExportOnlyData = true;
            RadGrid1.ExportSettings.Excel.Format = GridExcelExportFormat.ExcelML;           
            RadGrid1.MasterTableView.ExportToExcel();

Any help and/or suggestions is deeply appreciated!

Thanks
Daniel
Telerik team
 answered on 27 Aug 2010
4 answers
137 views
Hi,
I am trying to integrate the RadEditor in Sharepoint 2010 using visual studio 2010, but i can't get the control to fully work.
I created a visual webpart and added the control to the user control.  After that i added the xml to the manifest so it could load the telerik.web.Ui.dll, using the  new package editor of visual studio 2010.
Edited webconfig file and changed the Trust level to Full and added the httphandlers and handles for the dialog to work . 
The editor shows up and it works but the dialogs don't, table wizard for example gives-me an error  forbidden. (It gives a 404 without the httphandler and handles.)
Since i could be doing something wrong somewhere,  does someone knows what is the correct way to integrate the Telerik Asp.net ajax controls in SharePoint 2010, in my case i want use them in webparts. Thanks.
Poonam
Top achievements
Rank 1
 answered on 27 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?