or
<
CssFiles
>
<
telerik:EditorCssFile
Value
=
"~/_EditorToolSets/bootstrap.css"
/>
<
telerik:EditorCssFile
Value
=
"http://fast.fonts.net/cssapi/c02e6b72-e9dd-4ba0-a76c-bb710e27141a.css"
/>
<
telerik:EditorCssFile
Value
=
"~/_EditorToolSets/editor2.css"
/>
</
CssFiles
>
<
classes
>
<
class
name
=
"Lead Paragraph"
value
=
".lead"
/>
<
class
name
=
"CAC Image"
value
=
".cac-img"
/>
<
class
name
=
"CAC Button"
value
=
".cac-btn"
/>
</
classes
>
protected void ddlMake_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e) | |
{ | |
ViewState["Make"] = e.Text; | |
} |
Forgive me if this is an extremely easy question but for some reason I cannot get the SelectedValue rather than the SelectedText from the RadCombo in the SelectedIndesChanged event. Can someone please help me find where this may be? e.Text is the only thing that appears to be accessible. My ID values are the hidden piece I need.
Thanks in advance.
Doug
<
telerik:RadGrid
ID
=
"VialsGrid"
runat
=
"server"
CellSpacing
=
"0"
AllowPaging
=
"true"
PageSize
=
"50"
AllowFilteringByColumn
=
"true"
AutoPostBackOnFilter
=
"true"
AutoGenerateColumns
=
"false"
AllowSorting
=
"true"
GridLines
=
"None"
Width
=
"1000"
ItemStyle-VerticalAlign
=
"Top"
AlternatingItemStyle-VerticalAlign
=
"Top"
DataSourceID
=
"VialsGridDataSource"
EnableLinqExpressions
=
"true"
OnUpdateCommand
=
"VialsGrid_UpdateCommand"
OnItemCreated
=
"VialsGrid_ItemCreated"
>
<
MasterTableView
DataKeyNames
=
"VialLocationID"
Name
=
"MasterTableView"
CommandItemDisplay
=
"Top"
EnableLinqGrouping
=
"true"
>
<
Columns
>
...
</
Columns
>
<
CommandItemSettings
ShowAddNewRecordButton
=
"true"
ShowRefreshButton
=
"true"
></
CommandItemSettings
>
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"VialLocationGroupName"
FieldAlias
=
"VialLocationGroupName"
HeaderText
=
"Group"
/>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"VialLocationGroupName"
/>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
</
MasterTableView
>
<
ClientSettings
>
<
ClientEvents
OnCommand
=
"function(){}"
OnMasterTableViewCreated
=
"MasterTableViewCreated"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
</
div
>
<
asp:EntityDataSource
ID
=
"VialsGridDataSource"
runat
=
"server"
ConnectionString
=
"name=EmbryoDBEntities"
DefaultContainerName
=
"EmbryoDBEntities"
EnableFlattening
=
"false"
EnableInsert
=
"false"
EnableUpdate
=
"true"
EnableDelete
=
"false"
EntitySetName
=
"VialLocationViews"
OrderBy
=
"it.VialLocationGroupName, it.VialLocation asc"
AutoPage
=
"true"
AutoSort
=
"true"
OnQueryCreated
=
"VialsGridDataSource_QueryCreated"
>
</
asp:EntityDataSource
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadFilterButton"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadTabStrip1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadMultiPage1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadTabStrip1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadMultiPage1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
Skin
=
"Default"
/>
<
telerik:RadAjaxManagerProxy
ID
=
"RadAjaxManagerProxy1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadListView1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadListView1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadTabStrip1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadMultiPage1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
<
telerik:RadAjaxManagerProxy
ID
=
"RadAjaxManagerProxy1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"DetailLocationContact"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"DetailProvider"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
<
div
class
=
"detailpane"
>
<!-- LeadId -->
<
div
class
=
"leadidarea"
>
<
asp:Label
ID
=
"Label1"
runat
=
"server"
Text
=
"Lead ID:"
/><
asp:TextBox
ID
=
"LeadIDTextBox"
runat
=
"server"
Text
=
"LeadID"
></
asp:TextBox
>
Detail Main Controls here!
</
div
>
<!-- Forecast -->
<
div
class
=
"forecastarea"
>
<
uc1:DetailForecast
runat
=
"server"
ID
=
"DetailForecast"
/>
</
div
>
<!-- Company -->
<
div
class
=
"companyarea"
>
<
uc2:DetailCompany
runat
=
"server"
ID
=
"DetailCompany"
/>
</
div
>
<!-- Provider -->
<
div
class
=
"providerarea"
>
<
uc3:DetailProvider
runat
=
"server"
ID
=
"DetailProvider"
/>
</
div
>
<!-- Location and Contact -->
<
div
class
=
"locationarea"
>
<
uc4:DetailLocationContact
runat
=
"server"
ID
=
"DetailLocationContact"
/>
</
div
>
<!-- Additional Info -->
<
div
class
=
"additionalarea"
>
<
uc5:DetailAdditionalInfo
runat
=
"server"
ID
=
"DetailAdditionalInfo"
/>
</
div
>
</
div
>