<
asp:Panel
ID
=
"PnlFileDetails"
runat
=
"server"
BorderStyle
=
"Solid"
BorderWidth
=
"1px"
Width
=
"100%"
>
<
asp:Panel
ID
=
"PnlCurrentConntentDetails"
runat
=
"server"
Width
=
"100%"
>
<
table
style
=
"width: 100%"
>
<
tr
>
<
td
style
=
"border: 1px solid"
>
<
telerik:RadGrid
ID
=
"dgCurrentContentDetails"
runat
=
"server"
AllowMultiRowSelection
=
"True"
Skin
=
"SLB"
CellSpacing
=
"1"
CellPadding
=
"3"
BorderStyle
=
"Solid"
BorderWidth
=
"0px"
Width
=
"100%"
Height
=
"300px"
AutoGenerateColumns
=
"False"
GridLines
=
"None"
AllowSorting
=
"True"
HeaderStyle-Height
=
"30px"
EnableEmbeddedSkins
=
"False"
OnItemDataBound
=
"dgCurrentContentDetails_ItemDataBound"
>
<
ClientSettings
>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
/>
<
Selecting
AllowRowSelect
=
"true"
/>
<
ClientEvents
OnRowSelecting
=
"RowSelecting"
OnRowSelected
=
"RowSelected"
OnRowDeselected
=
"RowDeSelected"
/>
</
ClientSettings
>
<
HeaderStyle
Font-Underline
=
"False"
Height
=
"30px"
/>
<
ItemStyle
Wrap
=
"true"
/>
<
MasterTableView
AllowNaturalSort
=
"true"
AllowCustomSorting
=
"true"
ShowHeadersWhenNoRecords
=
"true"
NoMasterRecordsText
=
"No files found for the selected product."
>
<
ExpandCollapseColumn
SortAscImageUrl
=
"~/Skins/SLB/Grid\SortAsc.gif"
SortDescImageUrl
=
"~/Skins/SLB/Grid\SortDesc.gif"
>
</
ExpandCollapseColumn
>
<
Columns
>
<
telerik:GridBoundColumn
UniqueName
=
"RuleID"
DataField
=
"RuleID"
HeaderText
=
"RuleID"
Display
=
"false"
>
<
HeaderStyle
HorizontalAlign
=
"Center"
/>
<
ItemStyle
Wrap
=
"true"
HorizontalAlign
=
"Left"
CssClass
=
"RadGridRow"
/>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
td
>
</
tr
>
</
table
>
</
asp:Panel
>
</
asp:Panel
>
document.getElementById('ctl00_CntPlHolder_PnlFileDetails').disabled = false;
document.getElementById('ctl00_CntPlHolder_PnlCurrentConntentDetails').disabled = false;
document.getElementById(
'ctl00_CntPlHolder_dgCurrentContentDetails').enabled = true;
Thanks,
Sudha.
var row = masterTable.get_dataItems()[index];
var cell = masterTable.getCellByColumnUniqueName(row, "ClientSelectColumn");
var chk = cell.getElementsByTagName("input")[0];
if(chk.checked)
{
....
}
eventhough i select the Check box chk.checked is false.
<
telerik:RadTabStrip ID="RadToolTabs" SelectedIndex="0" runat="server" MultiPageID="radMultiPage">
<Tabs>
<telerik:RadTab runat="server" Text="Products " SelectedIndex="0">
<Tabs>
<telerik:RadTab Text=" Lux " SelectedIndex="0"></telerik:RadTab>
<telerik:RadTab Text=" Santoor "></telerik:RadTab>
</Tabs>
</telerik:RadTab>
<telerik:RadTab runat="server" Text=" ProductPrice " >
</telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage runat="server" SelectedIndex="0" ID="radMultiPage">
<telerik:RadPageView ID="RadPageView1" runat="server" Height="500px" ContentUrl="Products.aspx"></telerik:RadPageView>
<telerik:RadPageView ID="RadPageView2" runat="server" Height="500px" ContentUrl="Lux.aspx"></telerik:RadPageView>
<telerik:RadPageView ID="RadPageView3" runat="server" Height="500px" ContentUrl="Santoor.aspx"></telerik:RadPageView>
<telerik:RadPageView ID="RadPageView4" runat="server" Height="500px" ContentUrl="ProductPrice.aspx"></telerik:RadPageView>
</telerik:RadMultiPage>
When MainContentPage.aspx page loads, By default the Products tab, Lux tab Selected and Lux.aspx page loaded.
and i am having GoProdcutPrice button in my Lux.aspx Page(Childtab page) , When i click on this button i have to select ProductPrice.aspx page and ProductPrice tab.
How can i achieve this scenario?
Thanks
Shaik Nazeer Hussain
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"rgComparison"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgComparison"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
/>
<
telerik:RadGrid
ID
=
"RadGrid2"
runat
=
"server"
AllowAutomaticDeletes
=
"True"
AllowAutomaticInserts
=
"True"
AllowAutomaticUpdates
=
"True"
AutoGenerateColumns
=
"False"
CellSpacing
=
"0"
DataSourceID
=
"ServiceType"
GridLines
=
"None"
ShowStatusBar
=
"True"
AllowPaging
=
"True"
>
<
PagerStyle
AlwaysVisible
=
"true"
Mode
=
"NumericPages"
/>
<
ClientSettings
>
<
DataBinding
>
<
DataService
Type
=
"OData"
/>
</
DataBinding
>
<
Selecting
AllowRowSelect
=
"True"
/>
</
ClientSettings
>
<
MasterTableView
CommandItemDisplay
=
"Top"
DataKeyNames
=
"ServiceTypeID"
DataSourceID
=
"ServiceType"
Width
=
"100%"
Name
=
"ServiceType"
AllowPaging
=
"False"
>
<
DetailTables
>
..................
<
telerik:GridTemplateColumn
DataField
=
"MaterialDescription"
FilterControlAltText
=
"Filter MaterialDescription column"
HeaderText
=
"Description"
UniqueName
=
"ChildMaterialDescription"
>
<
EditItemTemplate
>
<
asp:TextBox
ID
=
"MaterialDescriptionTextBox"
runat
=
"server"
Text='<%# Bind("MaterialDescription") %>'
Height="100px" TextMode="MultiLine" Width="300px" Wrap="True"></
asp:TextBox
>
</
EditItemTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"MaterialDescriptionLabel"
runat
=
"server"
Text='<%# Eval("MaterialDescription") %>'></
asp:Label
>
</
ItemTemplate
>
.........................
<
asp:SqlDataSource
ID
=
"ChildMaterialItems"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:KPortal %>"
SelectCommand="SELECT Materials.ParentMaterialID, Materials.MaterialID, Materials.MaterialDescription, Materials.MaterialName, Materials.MaterialPictureID, MaterialPictures.PictureCategory + ' - ' + MaterialPictures.PictureDescription AS PictureDescription, Materials.PricedItem, Materials.MaterialCategoryID, Materials.OrderID, Materials.Value, Materials.UnitID, Materials.InternalCode, Materials.UnitType FROM Materials INNER JOIN MaterialPictures ON Materials.MaterialPictureID = MaterialPictures.MaterialPictureID WHERE (Materials.ParentMaterialID = @ParentMaterialID)
order by Materials.OrderID" DeleteCommand="Exec DeleteMaterials @MaterialID"
InsertCommand="Exec InsertMaterial
@MaterialDescription=@MaterialDescription,
@MaterialPictureID = @MaterialPictureID,
@ParentMaterialID = @ParentMaterialID,
@MaterialName = @MaterialName,
@PricedItem = @PricedItem,
@InternalCode = @InternalCode ,
@Value = @Value,
@UnitType = @UnitType,
@UnitID = @UnitID,
@OrderID = @OrderID"
UpdateCommand="
Update Materials
Set
MaterialDescription = @MaterialDescription,
MaterialPictureID = @MaterialPictureID,
MaterialName = @MaterialName,
PricedItem = @PricedItem,
InternalCode = @InternalCode,
Value = @Value,
UnitType = @UnitType,
UnitID = @UnitID,
OrderID = @OrderID
Where MaterialID =@MaterialID
">
<
DeleteParameters
>
<
asp:Parameter
Name
=
"MaterialID"
/>
</
DeleteParameters
>
<
InsertParameters
>
<
asp:Parameter
Name
=
"MaterialDescription"
/>
<
asp:Parameter
Name
=
"MaterialPictureID"
/>
<
asp:Parameter
Name
=
"ParentMaterialID"
/>
<
asp:Parameter
Name
=
"MaterialName"
/>
<
asp:Parameter
Name
=
"PricedItem"
/>
<
asp:Parameter
Name
=
"InternalCode"
/>
<
asp:Parameter
Name
=
"Value"
/>
<
asp:Parameter
Name
=
"UnitType"
/>
<
asp:Parameter
Name
=
"UnitID"
/>
<
asp:Parameter
Name
=
"OrderID"
/>
</
InsertParameters
>
<
SelectParameters
>
<
asp:ControlParameter
ControlID
=
"RadGrid2"
Name
=
"ParentMaterialID"
PropertyName
=
"SelectedValue"
/>
</
SelectParameters
>
<
UpdateParameters
>
<
asp:Parameter
Name
=
"MaterialDescription"
/>
<
asp:Parameter
Name
=
"MaterialPictureID"
/>
<
asp:Parameter
Name
=
"MaterialName"
/>
<
asp:Parameter
Name
=
"PricedItem"
/>
<
asp:Parameter
Name
=
"InternalCode"
/>
<
asp:Parameter
Name
=
"Value"
/>
<
asp:Parameter
Name
=
"UnitType"
/>
<
asp:Parameter
Name
=
"UnitID"
/>
<
asp:Parameter
Name
=
"OrderID"
/>
<
asp:Parameter
Name
=
"MaterialID"
/>
</
UpdateParameters
>
</
asp:SqlDataSource
>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
body
>
<
p
style
=
"text-align: left"
>
<
img
alt
=
"Priceology"
src
=
"{WebSiteAddress}/Pics/Pricology640.jpg"
/></
p
>
<
div
>
Dear {CompanyUserName},<
br
/>
<
br
/>
Please be advised that there is an update to {Service} project that you are
working on.<
br
/>
<
br
/>
The status of the <
b
>"{ProjectName}"</
b
> project have been updated to
<
b
>"{ProjectStatus}"</
b
>.
<
br
/>
<
br
/>
Please visit the link below to see the details:e the details:<
br
/>
<
br
/>
<
a
href
=
"{ManufacturerProjectLink}"
>Priceolgy projects</
a
><
br
/>
<
br
/>
Regards,<
br
/>
Priceology Team</
div
>
</
body
>
</
html
>
<
script
type
=
"text/javascript"
>
function PrintPane(paneID)
{
var splitter = <%= RadSplitter1.ClientID %>;
alert(paneID);
var pane = splitter.GetPaneById(paneID);
if (!pane) return;
pane.Print();
}
</
script
>