Hi everyone
I need to use RadCombobox With checkbox multi select then When I click the value I need to show value like attach files. Please Help me. Thank you for advance.
I've a radcomboBox with footertemplate that allows me to add new items to the radcombobox. My RCB has onClientSelectedIndexChanged event that would fire when the selected index is changed. When I use footerTemplate to add new item - it does not fire this event. Can you please help.
<telerik:RadComboBox ID=
"rcbClass"
runat=
"server"
Width=
"400px"
DropDownAutoWidth=
"Enabled"
AllowCustomText=
"false"
MarkFirstMatch=
"true"
AutoPostBack=
"true"
OnClientSelectedIndexChanged=
"ChangeEffortClassification"
>
<FooterTemplate>
<asp:TextBox ID=
"tbClassDetail"
runat=
"server"
ClientIDMode=
"Static"
></asp:TextBox>
<asp:Button ID=
"btnAddClass"
runat=
"server"
Text=
"Add Classification"
OnClick=
"btnClass_Click"
ClientIDMode=
"Static"
CausesValidation=
"false"
OnClientClick=
"return validateGroupAndSetWaiting(this,'vgRCBFooter');"
/>
<asp:RequiredFieldValidator ID=
"rfvClassDetail"
runat=
"server"
ControlToValidate=
"tbClassDetail"
ErrorMessage=
"New Class cannot be blank"
ValidationGroup=
"vgRCBFooter"
></asp:RequiredFieldValidator>
</FooterTemplate>
</telerik:RadComboBox>
protected
void
btnClass_Click(
object
sender, EventArgs e)
{
Page.Validate(
"vgRCBFooter"
);
if
(!Page.IsValid)
return
;
Button btnAddClass = sender
as
Button;
TextBox txtClassDetail = (TextBox)btnAddClass.NamingContainer.FindControl(
"tbClassDetail"
);
Telerik.Web.UI.RadComboBox rcbClassDetail = (Telerik.Web.UI.RadComboBox)btnAddClass.NamingContainer.Parent;
if
(!String.IsNullOrEmpty(txtClassDetail.Text))
{
rcbClassDetail.Items.Insert(0,
new
Telerik.Web.UI.RadComboBoxItem(txtClassDetail.Text));
rcbClassDetail.SelectedIndex = 0;
txtClassDetail.Text = String.Empty;
}
}
Hi,
I am trying to use your file explorer and add some metadata to each file. Kind of simple archive.
I have attached a screenshot.
When the user select a file the meta data should be displayed on the right side.
I have problems with posting back and find the selected file to display the metadata for.
Rgds
Ole Oscar Johnsen
I want the fields in a RadGrid EditForm to Autopostback. I am programmatically turning on Autopostback in Page_Load of the custom grid control. Here's the beginning of the grid ascx file:
<radG:RadGrid ID="G1" runat="server" EnableAJAX="True" EnableAJAXLoadingTemplate="True"
GridLines="None" OnDeleteCommand="RadGrid2_DeleteCommand" OnInsertCommand="RadGrid2_InsertCommand"
OnItemCommand="RadGrid2_ItemCommand" OnItemDataBound="RadGrid2_ItemDataBound"
OnNeedDataSource="RadGrid2_NeedDataSource" OnUpdateCommand="RadGrid2_UpdateCommand"
Skin="Web20" OnPreRender="G1_PreRender">
<AJAXLoadingTemplate>
<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/loading7.gif" />
</AJAXLoadingTemplate>
<ClientSettings>
<Selecting AllowRowSelect="True" />
</ClientSettings>
<MasterTableView AllowSorting="True" AutoGenerateColumns="False" CommandItemDisplay="Top"
DataKeyNames="id" GridLines="Vertical">
<EditFormSettings EditFormType="Template">
<FormTemplate>
When the form is generated, the javascript for __doPostback is not added to the html. Is there some configuration thing that will cause Autopostback to fail to work? This is legacy code that I did not generate and I, frankly, don't understand it. But, on pages without a grid, I was able to add Autopostback in this way and it worked.
Hi,
I'm looking to make a few changes to the DrawRectangle tool dialog box, but am having difficulty.
Specifically, I would like to do the following.
* Change the title text (default is "Draw Rectangle")
* Remove the FillColor, DrawColor, and LineSize controls and set these values to Black, Black, and 1 respectively.
* When opening the dialog box, the user simply has to click the page to draw the rectangle and clicks apply when done.
Thanks!
Hi,
I have Grid with 2 level of Detail Tables. I am using HierarchyLoadMode="Client". I need to Disable (not hide) Expand button click of 1st Detail Table (DetailTableView1) for few scenarios.
Below is the structure
<telerik:RadGrid........ >
<MasterTableView ....>
<DetailTables>
<telerik:GridTableView Name="DetailTableView1" ..........>
<DetailTables>
<telerik:GridTableView Name="DetailTableView2" .........>
I have attached aimage to explain the requirement. Could you please let me know the possible ways to achieve the same?
Regards,
Puru
<
telerik:RadSpreadsheet
runat
=
"server"
ID
=
"rssMain"
Skin
=
"Bootstrap"
ColumnsCount
=
"10"
>
<
Toolbar
>
<
telerik:SpreadsheetToolbarTab
Text
=
"Test"
></
telerik:SpreadsheetToolbarTab
>
</
Toolbar
>
</
telerik:RadSpreadsheet
>
<form id=
"form1"
runat=
"server"
>
<div>
<telerik:RadScriptManager ID=
"RadScriptManager1"
runat=
"server"
></telerik:RadScriptManager>
</div>
<telerik:RadHtmlChart ID=
"RadHtmlChart1"
runat=
"server"
Width=
"100%"
Height=
"500px"
Skin=
"Metro"
>
<Legend>
<Appearance Position=
"Bottom"
>
</Appearance>
</Legend>
<PlotArea>
<AdditionalYAxes>
<telerik:AxisY MaxValue=
"100"
MinValue=
"0"
Name=
"HS"
Step=
"10"
Color=
"#00CC00"
>
<LabelsAppearance DataFormatString=
"{0}%"
></LabelsAppearance>
<MinorGridLines Visible=
"false"
></MinorGridLines>
<MajorGridLines Visible=
"true"
></MajorGridLines>
</telerik:AxisY>
</AdditionalYAxes>
<Series>
<telerik:ScatterLineSeries DataFieldX=
"RQ"
DataFieldY=
"RCYL1"
Name=
"RCYL1"
>
<LabelsAppearance Visible=
"false"
></LabelsAppearance>
<Appearance>
<FillStyle BackgroundColor=
"Fuchsia"
/>
</Appearance>
</telerik:ScatterLineSeries>
<telerik:ScatterLineSeries DataFieldX=
"RQ"
DataFieldY=
"RCYL2"
Name=
"RCYL2"
>
<LabelsAppearance Visible=
"false"
></LabelsAppearance>
<Appearance>
<FillStyle BackgroundColor=
"Red"
/>
</Appearance>
</telerik:ScatterLineSeries>
<telerik:ScatterLineSeries AxisName=
"HS"
DataFieldX=
"RQ"
DataFieldY=
"HS"
Name=
"HS"
>
<LabelsAppearance Visible=
"false"
></LabelsAppearance>
<Appearance>
<FillStyle BackgroundColor=
"#00CC00"
/>
</Appearance>
</telerik:ScatterLineSeries>
</Series>
<XAxis BaseUnit=
"Days"
Type=
"Date"
MajorTickType=
"None"
>
<LabelsAppearance DataFormatString=
"yyyy-MM-dd"
>
</LabelsAppearance>
<MinorGridLines Visible=
"false"
></MinorGridLines>
<MajorGridLines Visible=
"true"
></MajorGridLines>
<AxisCrossingPoints>
<telerik:AxisCrossingPoint Value=
"0"
/>
<telerik:AxisCrossingPoint Value=
"10"
/>
</AxisCrossingPoints>
</XAxis>
<YAxis MajorTickType=
"None"
>
<MinorGridLines Visible=
"false"
></MinorGridLines>
<MajorGridLines Visible=
"true"
></MajorGridLines>
<MinorGridLines Visible=
"false"
></MinorGridLines>
</YAxis>
</PlotArea>
</telerik:RadHtmlChart>
</form>
Telerik.Web.UI (2016.3.914.40)