Telerik Forums
UI for ASP.NET AJAX Forum
20 answers
967 views
Any idea as to why my exported excel file would be missing a column from the grid?  Here is my setup:

<ExportSettings 
     IgnorePaging="True" 
     OpenInNewWindow="True" 
     ExportOnlyData="True">
        <Excel Format="ExcelML" />
</ExportSettings>

And the column which is not showing:  (BTW, it is the first column in the grid)

<telerik:GridBoundColumn 
        DataField="market" 
        HeaderText="Market" 
        ReadOnly="True" 
        SortExpression="market"
        UniqueName="column1" 
        DataType="System.String">
            <HeaderStyle HorizontalAlign="Left" Font-Size="11px" />
            <ItemStyle Width="75px" Font-Size="11px" />
</telerik:GridBoundColumn>

I cannot see anything different between that column and all of the others that are appearing, except that this is the only column that displays text whereas all of the others display numbers.

Thank  you much,
David Martin


sln007
Top achievements
Rank 1
 answered on 29 Apr 2010
1 answer
119 views

Hi,

I am facing calendar issue in Custom Control in dynamically loaded RadDocks. In my dashboard what I am doing is selecting Custom Control  from dropdown and loading it to RadDockZone dynamically. For this I have 2 static RadDockZones and I am creating RadDock dynamically, loading Custom Control to Raddock .

Now the problem is my Calendar in Custom Control does not fire any events selection changed or any navigating to a diff month etc

The calendar is displaying in Rad Dock with the following code snippet

 dock.UniqueName = Guid.NewGuid().ToString().Replace('-', 'a'); 

But any event related to calendar is not firing.

If i try to change the Month from Calendar the Rad Dock layout is completely disappeared

Any Fix for the Problem?

Regards,

Naga Sridhar Madiraju

Pero
Telerik team
 answered on 29 Apr 2010
1 answer
126 views
I am curious to know if I can add template data via the Client-Side api much like the way you can do this server-side. Such as the way you do it in example: http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/templates/defaultcs.aspx I have been able to achieve this server-side by adding this to a root item:

 

Dim ChildItem As Telerik.Web.UI.RadMenuItem = New Telerik.Web.UI.RadMenuItem("MyControl")

 

ChildItem.Controls.Add(MyUserControl)

(The user control has the html)

I've gotten close to the functionality. I've added this code to a root item:

 

 

var item = new Telerik.Web.UI.RadMenuItem();

 

item.set_text('<div style="width: 100px; height: 150px">My template data</div>');

This actually works but it appears to have the menu item functionality overlaid.

Thanks!

Yana
Telerik team
 answered on 29 Apr 2010
0 answers
209 views


Hi,

In RAdMenu, how to enable shortcut keys, you have provided an option to set Access keys, but how to set shortcut keys like Ctrl+F4?

Is there any option to set the ssame,reply me plaese...


-Liji Gilesh
Liji Jose
Top achievements
Rank 1
 asked on 29 Apr 2010
1 answer
75 views
Hello Telerik Team,

is there a specific reason why the RadTreeNodeData is lacking the possiblity to set the Target Property, while supporting the NavigateURL?

Situation:

I have a page with a RadTreeView and an IFrame. The RadTreeView has it's ExpandMode set to WebService and retrieves it's data on demand from a page method, exactly like in the live demo.

Since I want to open the linked URL in the IFrame, I had to go great extents to supply the target with an additional attribute and open the URL clientside via the nodeclicked-event.

Is there a workaround, or is it planned for future releases to also support the target property with RadTreeNodeData?

best regards

Ulrik
Veselin Vasilev
Telerik team
 answered on 29 Apr 2010
6 answers
119 views
I have grid 
the PagerStyle  is NextPrevAndNumeric

in right to left mode (Arabic mode) the number of the pages is come up to each others not beside each others like English


please check the attachment
Hamdy
Top achievements
Rank 1
 answered on 29 Apr 2010
1 answer
186 views
Hi,

    How to Resize Columns when ShowHeader Property is Set to "False" .


 

 

 

<telerik:RadGrid

 

ID="PMGrdPhone" runat="server" CellPadding="0" AutoGenerateColumns="False"

 

 

GridLines="None" ShowHeader="False" AllowMultiRowEdit="True" CellSpacing="0"

 

 

TabIndex="19" Skin="Simple">

 

 

<HeaderContextMenu EnableAutoScroll="True">

 

 

</HeaderContextMenu>

 

 

<MasterTableView EditMode="InPlace">

 

 

<RowIndicatorColumn Visible="True">

 

 

</RowIndicatorColumn>

 

 

<Columns>

 

 

<telerik:GridTemplateColumn ItemStyle-Width="155px">

 

 

<ItemTemplate>

 

 

<telerik:RadComboBox ID="tcbNumberType" runat="server" Height="13px"

 

 

Width="153px">

 

 

</telerik:RadComboBox>

 

 

</ItemTemplate>

 

 

<ItemStyle Width="155px" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn ItemStyle-Width="30px">

 

 

<ItemTemplate>

 

 

<telerik:RadTextBox ID="txtAreacode" runat="server" Height="13px" Width="27px">

 

 

</telerik:RadTextBox>

 

 

</ItemTemplate>

 

 

<ItemStyle Width="30px" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn ItemStyle-Width="58px">

 

 

<ItemTemplate>

 

 

<telerik:RadTextBox ID="ttxtPhoneNo" runat="server" Height="13px" Width="56px">

 

 

</telerik:RadTextBox>

 

 

</ItemTemplate>

 

 

<ItemStyle Width="58px" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn ItemStyle-Width="10px">

 

 

<ItemTemplate>

 

 

<asp:Label ID="lblExt" runat="server" Text="x" Width="7px"></asp:Label>

 

 

</ItemTemplate>

 

 

<ItemStyle Width="10px" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn ItemStyle-Width="46px">

 

 

<ItemTemplate>

 

 

<telerik:RadTextBox ID="ttxtExtension" runat="server" Height="13px"

 

 

Width="44px">

 

 

</telerik:RadTextBox>

 

 

</ItemTemplate>

 

 

<ItemStyle Width="46px" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn HeaderStyle-Width="45px" ItemStyle-Width="45px">

 

 

<ItemTemplate>

 

 

<asp:Label ID="lblEmail" runat="server" Text="E-mail :" Width="55px"></asp:Label>

 

 

</ItemTemplate>

 

 

<HeaderStyle Width="45px" />

 

 

<ItemStyle Width="45px" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn ItemStyle-Width="235px">

 

 

<ItemTemplate>

 

 

<telerik:RadTextBox ID="ttxtEmailAddress" runat="server" Height="13px"

 

 

Width="233px">

 

 

</telerik:RadTextBox>

 

 

</ItemTemplate>

 

 

<ItemStyle Width="235px" />

 

 

</telerik:GridTemplateColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true">

 

 

<Resizing AllowColumnResize="True" AllowRowResize="True"

 

 

EnableRealTimeResize="True" ResizeGridOnColumnResize="True" />

 

 

</ClientSettings>

 

 

 

 

</telerik:RadGrid>

 

 

 

 

 

 



Protected

 

Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

 

 

Dim dtContact As DataTable = New DataTable("Contact")

 

 

Dim row As DataRow = Nothing

 

 

' add columns

 

dtContact.Columns.Add(

"id", Type.GetType("System.Int32"))

 

dtContact.Columns.Add(

"NumberType", Type.GetType("System.String"))

 

dtContact.Columns.Add(

"AreaCode", Type.GetType("System.String"))

 

dtContact.Columns.Add(

"PhoneNumber", Type.GetType("System.String"))

 

dtContact.Columns.Add(

"Extension", Type.GetType("System.String"))

 

dtContact.Columns.Add(

"EmailAddress", Type.GetType("System.String"))

 

 

' set PrimaryKey

 

dtContact.Columns(

"id").Unique = True

 

dtContact.Rows.Add(1,

"", "", "", "", "")

 

dtContact.Rows.Add(2,

"", "", "", "", "")

 

PMGrdPhone.DataSource = dtContact

PMGrdPhone.DataBind()

 

End Sub

 

 

Protected Sub Page_PreRender1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender

 

 

If Not Page.IsPostBack Then

 

 

For Each item As GridDataItem In PMGrdPhone.Items

 

item.Edit =

True

 

 

Next

 

PMGrdPhone.Rebind()

 

End If

 

 

End Sub




Thanks & Regards
LijiJose

 

Dimo
Telerik team
 answered on 29 Apr 2010
3 answers
830 views
Hello,
What's the easiest way to get the text of an uploaded file stream? Note I do not plan to save the actual file. Just get it's text and save that.

// save 
        if (RadUploadSQL.UploadedFiles.Count>0) 
        { 
            foreach (UploadedFile validFile in RadUploadSQL.UploadedFiles) 
            { 
                // open sql file 
 
                byte[] Filedata; 
                int Filesize; 
                Filesize = Convert.ToInt32(validFile.InputStream.Length); 
                validFile.InputStream.Read(Filedata, 0, Filesize);
// What to do here?
 
                 
            } 
 
        } 
Genady Sergeev
Telerik team
 answered on 29 Apr 2010
1 answer
207 views
for example :
we can use "UpdatePanel2.Update();" for update updatePanel2.
is there such function in RadAjaxPanel?

thank you.
Daniel
Maria Ilieva
Telerik team
 answered on 29 Apr 2010
1 answer
74 views
Is it feasible to create a wizard experience using the ASP.NET Ajax controls. I have a scenario which requires 3 or 4 pages on a wizard and I'd like to do this with modal dialogs and the usual Next/Previous/Cancel buttons. Is this a viable approach and, if so, are there any samples or demos for me to consider?

Thanks.

Mark
Sebastian
Telerik team
 answered on 29 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?