<%
@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="TelerikRadWindowSample._Default" %>
<%
@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<
asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</
asp:Content>
<
asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<telerik:RadWindowManager ID="radWindowManager1" runat="server"></telerik:RadWindowManager>
<h2>
Welcome to ASP.NET!
</h2>
<asp:Button ID="Button1" runat="server" Text="Open Rad Window"
onclick="Button1_Click" />
</p>
</
asp:Content>
here is my code behind
protected
void Button1_Click(object sender, EventArgs e)
{
// I dont see RadAlert
this.radWindowManager1.
}
Hi,
I have customized some of the dialogs of RadEditor using the provided ASCX files. I can successfully test the customization when the files are physically stored on a disk and a proper physical path is provided to the ExternalDialogsPath.
My question is - how can I now use the ExternalDialogsPath in combination with embedding the modified dialogs into my assembly? I don't want the modified dialogs to be part of my directory structure on the server.
Hi All,
I know , we have property called "AllowedFileExtensions" specify the allowed extensions. but i have list of extensions which need to be blocked like .ADE,ADP,BAS,BAT,CHM,CMD,COM,CPL,CRT,EXE,HLP,HTA,INF,INS,ISP,JS so on.....list goes upto 38 extensions. How to block this list of extensions for RadAsyncupload control......
i am using RadComboBox 2010 Q1 and i got a problem that on my button click a event OnSelectedIndexChanged of RadComboBox is fired automatically. i want to fire only if i change the value in radcombobox itself only.
The issue is also raised to several links but still not able the configure the issue. Below is the enviroment for the generation
Step - 1 Add Control to page.
Step - 2 Set the Following combobox properties to source page
<telerik:RadComboBox ID="RadComboBox1" runat="server" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged">
</telerik:RadComboBox>
Step - 3 Page OnLoad Code
if (Page.IsPostBack)
{
return;
}
RadComboBox1.ShowToggleImage =
false;
RadComboBox1.Skin =
"Office2007";
RadComboBox1.EnableLoadOnDemand =
false;
RadComboBox1.AutoPostBack =
true;
RadComboBox1.MarkFirstMatch =
true;
RadComboBox1.AllowCustomText =
true;
RadComboBox1.Height =
Unit.Pixel(100);
RadComboBox1.Items.Add(
new RadComboBoxItem("1"));
RadComboBox1.Items.Add(
new RadComboBoxItem("2"));
RadComboBox1.Items.Add(
new RadComboBoxItem("3"));
RadComboBox1.Items.Add(
new RadComboBoxItem("4"));
Step - 4 Define Selecetd Index Changed
protected void RadComboBox1_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
string s = "ppppp";
}
now degug the page either page button click goes to Selected index changes event or first select the item and then hit the button onclick.
The Same issue is post to several links like
http://www.telerik.com/community/forums/aspnet-ajax/combobox/radcombobox-selectedindexchanged-fired-incorrectly.aspx
Thanks,
Sanjeev
Hi all,
I have a RadGrid with autogenerated columns. Everything works fine, except for sorting numbers. The grid tries to sort the numbers as a string, instead of a number. So what I tried to do to get this working, and also be able to get Min/Max/Average/etc, was to change the datatype in the .cs file to Decimal.
Here is what that looks like:
protected
void
radGrid1_ColumnCreated(
object
sender, GridColumnCreatedEventArgs e)
{
if
(e.Column
is
GridBoundColumn)
{
if
(e.Column.UniqueName ==
"Total"
)
{
GridBoundColumn col = e.Column
as
GridBoundColumn;
col.DataType =
typeof
(
decimal
);
col.DataFormatString =
"${0:###.##}"
;
col.ItemStyle.HorizontalAlign = HorizontalAlign.Center;
}
}
}
Now the problem that I am encountering is that the Grid looses all its functionality. I cannot sort any column, I cannot move/hide/filter columns, and I cannot group anything either.
All I see is the Update control spinning for a split second, then it does nothing.
My question is, is this the proper way to assign a datatype to the column (col.DataType = typeof(decimal);) or should be done some other way?
Thanks
Hello,
I created a radasyncupload control like this:
<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" HideFileInput="true" MultipleFileSelection="Automatic"
OnClientFileUploading="OnClientFileUploading" />
When files were uploaded, control's style broke as you can see in my attached image. I have been using IE 9 as my browser.
Do you have any idea of how to fix this? Many thanks for any suggestion.
Hello,
I am using a RadTabStrip and would like to know if there is a way to set the width while using alignment="Justify"?
I have 2 tabs and would like to split those over the whole TabStrip... with the right side tab having a set width and the left side tab justifying to fill the hols TabStrip.
Could you tell me how to accomplish this?
Thanks
Tim