Team,
I am using telerik combobox containing check box in it.
(referred URL: http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkboxes/defaultcs.aspx )
I have a following requirement in my application
1.Change “Check All” label to “Select All”
2.I want to check if all items are checked using “Check All” option on client side because I have notice that OnClientItemChecked
Event Is not get triggered when all items are checked using “Check All” option is there alternate way for this?
3. Whenever I select items using checkbox all checked item get displayed in combo text with comma separator but the time when focus lost from the combobox only first selected item get display in combo text. It is working proper in a demo. Can you please let me know what can be the cause of this behavior?
Thanks in advance
cn.NavigateUrl = "Secure/" & row("NavigateURL").ToString()
Sample: GridView grdPropertyType = (GridView)RadPanelBar1.FindItemByValue("propertyType").FindControl("grdPropertyType");grdPropertyType .DataSource=data;(I have count of 10 values)grdPropertyType.DataBind(); --------------- and I am using the following code to bind the data:protected void grdPropertyType_DataBound(object sender,GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { Label lblPropertyTypeName = (Label)e.Row.FindControl("lblPropertyTypeData"); Label lblPropertyTypeCount = (Label)e.Row.FindControl("lblPropertyTypeCountData"); PropertyListView rowData = (PropertyListView)e.Row.DataItem; lblPropertyTypeName.Text = rowData.PropertyTypeDesc; lblPropertyTypeCount.Text = rowData.PropertyTypeCount.ToString(); } } -----------------------Is my code wrong? My problem is,I am unable to see grid view in the rad panel bar.Can you people help me on that???? Thanks and Regards Rama.M
<
telerik:RadMultiPage
ID
=
"rdmpPersonal"
runat
=
"server"
SelectedIndex
=
"0"
>
<
telerik:RadPageView
ID
=
"rdpgSalary"
runat
=
"server"
>
<
telerik:RadAjaxPanel
ID
=
"rdpnlSalary"
runat
=
"server"
>
<
telerik:RadPanelBar
runat
=
"server"
ID
=
"rdpbSalary"
ExpandMode
=
"FullExpandedItem"
Skin
=
"Vista"
EnableEmbeddedSkins
=
"false"
Width
=
"550px"
>
<
Items
>
<
telerik:RadPanelItem
Expanded
=
"true"
Text
=
"Employee Salary Information"
runat
=
"server"
Selected
=
"true"
>
<
Items
>
<
telerik:RadPanelItem
Value
=
"SalaryInformation"
runat
=
"server"
>
<
ItemTemplate
>
<
div
class
=
"text"
style
=
"background-color: #edf9fe"
>
<
ul
class
=
"formList"
id
=
"salaryinfo"
>
<
li
>
<
asp:Label
Width
=
"150px"
runat
=
"server"
ID
=
"lblSalaryPayRate"
AssociatedControlID
=
"rdbtnlstPayRate"
>What is the Pay Rate?</
asp:Label
>
<
asp:RadioButtonList
ID
=
"rdbtnlstPayRate"
runat
=
"server"
AutoPostBack
=
"true"
RepeatDirection
=
"Horizontal"
OnSelectedIndexChanged
=
"rdbtnlstPayRate_SelectedIndexChanged"
Style
=
"width: 155px"
ValidationGroup
=
"salaryValidation"
>
<
asp:ListItem
Value
=
"S"
>Salary</
asp:ListItem
>
<
asp:ListItem
Value
=
"H"
>Hourly</
asp:ListItem
>
</
asp:RadioButtonList
>
<
asp:RequiredFieldValidator
ID
=
"rfvsalaryTypeID"
runat
=
"server"
ControlToValidate
=
"rdbtnlstPayRate"
ErrorMessage
=
"Please Select One Pay Rate"
ValidationGroup
=
"salaryValidation"
></
asp:RequiredFieldValidator
>
</
li
>
</
div
>
</
ItemTemplate
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelBar
>
</
telerik:RadAjaxPanel
>
</
telerik:RadPageView
>
</
telerik:RadMultiPage
>
protected
void
rdbtnlstPayRate_SelectedIndexChanged(
object
sender, EventArgs e)
{
RadioButton rdbtnlstPayRate = (RadioButton)rdpbSalary.FindItemByValue(
"SalaryInformation"
).FindControl(
"rdbtnlstPayRate"
);
Unable to access rdbtnlstPayRate .SelectedValue can some one tell where I went wrong
}
I have a Radlistbox that is taller than the table that contains it. I was tasked with creating up and down buttons that the user can use to scroll the Radlistbox up and down. I created that and I able to scroll up and down a div with no issue however when I try to do this with the Telerik RadListbox it does not work, using "getElementByID("MyListBox"), that does not work.
I researched the Radlistbox and found that it includes a div so what I did was look in the source code ("view source") of the page and found the name of that div and then tried using that exact name to scroll but nothing happens there. It appears that the javascript finds the control because it does not error but it is simply not moving that but the same code works good for a normal div.
Does anyone know how to solve this?
In the source code I see that Radlistbox uses 3 different stylesheets that are all online. I was able to look at one of them last night and wondering if one of the stylesheets for the Radlistbox has some kind of setting that keeps the Radlistbox from being able to be manually scrolled by using a button.
so the question I have is how can you use buttons (ex: UpButton and DownButton) to scroll a RadListBox?
I apologize that I do not have the exact javascript that I'm using here but when I get home later I can update this post with that.
thanks
MC
applicationValueTotal += Double.Parse(dataItem[
"ApplicationValue"
].Text);
.
.
.
GridFooterItem footerItem = (GridFooterItem)e.Item;
footerItem[
"ApplicationValue"
].Text =
"R "
+ applicationValueTotal;