Hi
Following are the lines from my HTML page. I want to control the position of popup window duing add/edit.
It should be center align to the screen/browser window. How do set it ?
Regards
JD
<MasterTableView CommandItemDisplay="TopAndBottom" EditMode="PopUp" Width="100%" DataKeyNames="PropertyID" GridLines="Both"PagerStyle-AlwaysVisible="True">
<EditFormSettings EditFormType="Template" PopUpSettings-Width="900px" CaptionFormatString="Edit Property: {0}"CaptionDataField="PropertyName"InsertCaption="Add New Property" PopUpSettings-ScrollBars="Vertical">
hi,
i want to display next,Previous and finish button in all radwizard steps .in step 0 (first step) previous button disabled and in last step next button disabled and finish button must be enabled. Is this possible in rad WIzard UI
<telerik:RadWizard RenderMode="Lightweight"
runat="server"
ID="ManualOrderWizard"
DisplayProgressBar="False"
DisplayCancelButton="True"
DisplayNavigationBar="False"
Skin="Office2007"
OnNextButtonClick="ManualOrderWizard_NextButtonClick"
Localization-Finish="Create Order" Localization-Cancel="Close" OnCancelButtonClick="ManualOrderWizard_CancelButtonClick">
<%-- OnCancelButtonClick="">--%>
<WizardSteps>
<telerik:RadWizardStep ID="AddMembership" StepType="Step" runat="server">
<uc:UCAddMembership runat="server" ID="UCAddMembership" />
</telerik:RadWizardStep>
<telerik:RadWizardStep ID="AddItems" StepType="Step" runat="server">
<uc:UCAddItems runat="server" ID="AddItem" />
</telerik:RadWizardStep>
<telerik:RadWizardStep ID="CustomerShipping" StepType="Step" runat="server">
<%--<uc:UCAddMembership runat="server" ID="UCAddMembership2" />--%>
</telerik:RadWizardStep>
<telerik:RadWizardStep ID="GiftMessages" StepType="Step" runat="server">
<%-- <uc:UCAddMembership runat="server" ID="UCAddMembership3" />--%>
</telerik:RadWizardStep>
<telerik:RadWizardStep ID="AddbilltoCustomer" StepType="Step" runat="server">
<%--<uc:UCAddMembership runat="server" ID="UCAddMembership4" />--%>
</telerik:RadWizardStep>
<telerik:RadWizardStep ID="ReviewOrderTotal" StepType="Step" runat="server">
<%--<uc:UCAddMembership runat="server" ID="UCAddMembership5" />--%>
</telerik:RadWizardStep>
<telerik:RadWizardStep ID="OrderPayments" StepType="Step" runat="server">
<%-- <uc:UCAddMembership runat="server" ID="UCAddMembership6" />--%>
</telerik:RadWizardStep>
<telerik:RadWizardStep ID="AddNotes" StepType="Step" runat="server">
<%-- <uc:UCAddMembership runat="server" ID="UCAddMembership7" />--%>
</telerik:RadWizardStep>
<telerik:RadWizardStep ID="ReviewOrder" StepType="Finish" runat="server">
<%--uc:UCAddMembership runat="server" ID="UCAddMembership8" />--%>
</telerik:RadWizardStep>
</WizardSteps>
</telerik:RadWizard>

Hi Telerik Team,
I'm having an issue with the drill down functionality, I'm binding the data source to the org chart control on Page Load Event and I have a drill down handler when the user click on the drill down icon.
The data tables I'm using to bind the org chart are:
1). OrgChartStructure (Which will be defined the levels of the organization chart)
Id | ParentID|Title
1 NULL CEO (PK)
2 1 President
3 2 VP Sales
2). Org Chart
Id| NodeID| FirstName|LastName| Title|ImgPath
1 1 John Doe CEO
2 2 Jane Doe President
3 2 James Doe VP Sales
My Code:
<div class="demo-container no-bg">
<div class="search">
<telerik:RadSearchBox RenderMode="Lightweight" runat="server" ID="RadSearchBox1" DataTextField="FullName" DataValueField="NodeID" EnableAutoComplete="true"
OnClientSearch="onClientSearch" Skin="Silk">
</telerik:RadSearchBox>
<div class="rocBreadCrumb"></div>
</div>
<telerik:RadOrgChart ID="rocOrgChart"
runat="server"
RenderMode="Lightweight"
EnableCollapsing="true"
EnableDrillDown="true"
EnableGroupCollapsing="true"
Skin="Silk"
DataFieldID="ID" DataFieldParentID="ParentID"
DataTextField="FullName" DataImageUrlField="ImgPath">
</telerik:RadOrgChart>
</div>
BackCode:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
GenerateOrgChart()
End If
End Sub
Public Sub GenerateOrgChart()
Try
Dim ds_orgStructure As DataSet = sqhBI20.ReturnDataSetFromSproc("spGetOrgChartStructure")
Dim dt_orgStucture As DataTable = ds_orgStructure.Tables(0)
If Not dt_orgStucture Is Nothing Then
rocOrgChart.GroupEnabledBinding.NodeBindingSettings.DataFieldID = "ID"
rocOrgChart.GroupEnabledBinding.NodeBindingSettings.DataFieldParentID = "ParentID"
rocOrgChart.GroupEnabledBinding.NodeBindingSettings.DataSource = ds_orgStructure
End If
Dim ds_OrgChart As DataSet = sqhBI20.ReturnDataSetFromSproc("SpGetOrgChart")
Dim dt_OrgChart As DataTable = ds_OrgChart.Tables(0)
If Not dt_OrgChart Is Nothing Then
rocOrgChart.GroupEnabledBinding.GroupItemBindingSettings.DataFieldID = "ID"
rocOrgChart.GroupEnabledBinding.GroupItemBindingSettings.DataFieldNodeID = "NodeID"
rocOrgChart.GroupEnabledBinding.GroupItemBindingSettings.DataTextField = "FullName"
rocOrgChart.GroupEnabledBinding.GroupItemBindingSettings.DataImageUrlField = "ImgPath"
rocOrgChart.RenderedFields.ItemFields.Add(New Telerik.Web.UI.OrgChartRenderedField() With {.DataField = "NodeID"})
rocOrgChart.GroupEnabledBinding.GroupItemBindingSettings.DataSource = ds_OrgChart
End If
rocOrgChart.DataBind()
RadSearchBox1.Text = ""
RadSearchBox1.DataSource = ds_OrgChart
RadSearchBox1.DataBind()
Catch ex As Exception
Throw New Exception(ex.ToString())
End Try
End Sub
Public Sub rocOrgChart_DrillDown(sender As Object, e As Telerik.Web.UI.OrgChartDrillDownEventArguments) Handles rocOrgChart.DrillDown
Dim item = New OrgChartGroupItem() With {.DataItem = "NodeID"}
e.SourceNode.Renderer.Controls.Remove(e.SourceNode.Nodes.Renderer)
e.SourceNode.GroupItems.Clear()
e.SourceNode.Nodes.Clear()
e.SourceNode.GroupItems.Add(item)
End Sub

I have a RadGrid that i use to select records then display said record in a different frame/page. this is working exactly as i want it to.
Starting off, the grid is empty. the customer makes a search and it is then populated with the relevant data.
i need to be able to automatically select the first row and it then fire off the "OnSelectedIndexChanged" function i have created.
i have tried using the
grid.MasterTableView.Items[0].Selected = true;
in my codebehind. and while it does highlight the first row, it does not select/click on it to fire off the "OnSelectedIndexChanged" function.
i have also tried the clientevents options of ongridcreated, ondatabound, etc and they dont work as intended. when the page loads, before the grid is populated these client events keep firing over and over.
i need it to only fire once, when the grid is populated after a search.
I am really stumped here, and could use assistance.


Hi, i'm starting with Telerik.
I'm trying to understand a particular behavior about RowIndex. I'm checking RowIndex of each GridViewItem and it's not going like expected.
Instead of list 1,2,3 it's showing 2, 4, 6. I'm wondering why is it happening.

Hi there,
I am using the RadCheckBoxList and I want to color an individual ButtonListItem.
The attributes propery is not available, so I am not able to set the styling of an individual item.
RadCheckBoxList radCheckBoxList = (RadCheckBoxList)radPanelItem.Items[0].FindControl("radCheckBoxList");
if (radCheckBoxList != null) { // Iterate items. foreach (ButtonListItem radCheckBoxItem in radCheckBoxList.Items) { // Set ValueID. string valueID = radCheckBoxItem.Value; // string text = radCheckBoxItem.Text; // Calculate total checkbox. int total = CalcCheckBoxTotal(propertyID, valueID, partTable, getPartValuesByCommodityCode.PartValueTable); radCheckBoxItem.Text = text + " (" + total + ")"; // Set color checkbox to silver when total. if (total == 0) { // radCheckBoxItem.Attributes.Add("style", "color:Silver;"); } } }The property is available when you use the regular System.Web.UI.WebControls.CheckBoxList control.
Any idea how to set the color of an individual item?
Regards,
Marcel
