Is it possible to have another wizard (child wizard) within one of the wizard steps? I have tried, it seems doe not work... The Next button for the nested wizard acts like the parent wizard next button. Any one has any idea if this can be done ?
Thanks!
We have controls within a RadPageLayout control that we would like to add into RadAjaxManager individually but the UI in VS does not show any of the controls within the RadPageLayout control.
So the only option seems to be a full refresh of the whole RadPageLayout control. Is there any way to manage the controls within the RadPageLayout at all?
Hi,
In my grid i need to set enable= false for GridEditCommandColumn,GridButtonColumn's.Here is my source code:
<
telerik:GridEditCommandColumn
ButtonType
=
"ImageButton"
UniqueName
=
"EditButton"
HeaderStyle-HorizontalAlign
=
"Left"
HeaderText
=
"Edit"
ItemStyle-HorizontalAlign
=
"Left"
>
<
HeaderStyle
HorizontalAlign
=
"Left"
/>
<
ItemStyle
HorizontalAlign
=
"Left"
/>
</
telerik:GridEditCommandColumn
>
<
telerik:GridButtonColumn
ButtonType
=
"ImageButton"
CommandName
=
"Delete"
UniqueName
=
"DeleteButton"
ConfirmDialogHeight
=
"100px"
ConfirmDialogType
=
"RadWindow"
HeaderText
=
"Delete"
ConfirmDialogWidth
=
"220px"
ConfirmText
=
"Are you sure you want to delete this Indent Item?"
ConfirmTitle
=
"Delete"
HeaderStyle-HorizontalAlign
=
"Left"
HeaderStyle-VerticalAlign
=
"NotSet"
ItemStyle-HorizontalAlign
=
"Left"
>
<
HeaderStyle
HorizontalAlign
=
"Left"
/>
<
ItemStyle
HorizontalAlign
=
"Left"
/>
</
telerik:GridButtonColumn
>
protected void gvItems_PreRender(object sender, EventArgs e)
{
foreach (GridDataItem item in gvItems.MasterTableView.GetItems(GridItemType.Item))
{
ImageButton btn1 = (ImageButton)item.FindControl("EditButton");//accessing the Button by its name
btn1.Enabled = false;
}
}
I have a RadCheckBox on an ASP.Net page with VB.net as the code-behind.
The text for the RadCheckBox is kind of long so needs to be wrapped to the next line or put a carriage-return line-feed in the Text.
I have tried putting <br /> in the Text but that did not work.
I have tried putting the following CSS:
html RadButton.rbCheckBox .rbText {
word-wrap:
normal
;
But that did not work either.
Attached is a screenshot showing the RadCheckBox circled in Red.
Please help!
<
telerik:RadGrid
ID
=
"rgUsers"
AutoGenerateColumns
=
"false"
runat
=
"server"
OnNeedDataSource
=
"OnNeedDataSource"
>
<
ClientSettings
>
<
ClientEvents
OnRowDblClick
=
"RowDblClick"
/>
</
ClientSettings
>
<
MasterTableView
TableLayout
=
"Fixed"
CommandItemDisplay
=
"Top"
EditMode
=
"InPlace"
InsertItemDisplay
=
"Bottom"
AutoGenerateColumns
=
"false"
>
<
CommandItemTemplate
>
<
asp:LinkButton
ID
=
"btnAddNew"
runat
=
"server"
CommandName
=
"InitInsert"
Text
=
"New"
Visible='<%# rgUsers.EditIndexes.Count == 0 && !rgUsers.MasterTableView.IsItemInserted %>' />
<
asp:Button
ID
=
"btnInsert"
runat
=
"server"
CommandName
=
"PerformInsert"
Text
=
"Insert"
/>
<
asp:Button
ID
=
"btnEditSelected"
runat
=
"server"
CommandName
=
"EditSelected"
Text
=
"Edit"
/>
</
CommandItemTemplate
>
<
Columns
>
<
telerik:GridTemplateColumn
HeaderText
=
"UserName"
UniqueName
=
"UserName"
SortExpression
=
"UserName"
ItemStyle-HorizontalAlign
=
"Left"
HeaderStyle-HorizontalAlign
=
"Center"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblUsername"
runat
=
"server"
Text='<%#Eval("UserName")%>' />
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadTextBox
ID
=
"txtUsername"
runat
=
"server"
Text='<%#Eval("UserName")%>'>
</
telerik:RadTextBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
dt.Columns.Add("chk")
dt.Columns.Add("Profile Image")
dt.Columns.Add("Name")
dt.Columns.Add("Info1")
dt.Columns.Add("Info2")
dt.Columns.Add("Score")
dt.Columns.Add("Actions")
dt.Rows.Add(CheckBox, Image, "#Name#", "#Info#", "#Info2#", "#Score#", "##Actions##")
RadGrid1.DataSource = dt
RadGrid1.Rebind()
I have a need to use a RadWindow from a HyperLink in both the level 1 columns and the DetailTables.
The RadGrid data is populated via OnNeedDataSource() as the data is extracted from a context.
The DetailTables data is populated via OnDetailTableDataBind().
When I used an OnItemCreated() to enable me to change the href and onclick attributes of the asp:HyperLinks, I lost the data in the RadGrid and was not able to select anything. I realize it is because the data has been changed so this option is not available to me, though the RadWindow was working nicely.
Currently I am using GridHyperLinkColumns but am unable to use a RadWindow with these.
Any suggestions of how to make it work?
The text in design tab for the radeditor shows single space but in HTML tab there are two spaces. I'm assuming the radeditor is compensating for this in the design tab? Is there anything we can do about it? Our users don't realize there is an extra space that shouldn't be there because they don't see it.
For example, the text "administration to the bloodstream" does not appear to have extra spaces between 'administration' and 'to' when viewed in the design tab, bit when viewed in the html tab it appears as like this... "administration to the bloodstream"
ThanksHi,
I have a RadGrid with a CommandItemTemplate.In the InstantiateIn I define a toolbar and add two buttons.
After clicking the button I do a Rebind of the grid in the ItemCommand-event of the grid and I change the text of the clicked button. This fires also the InstantiateIn event of the CommandItemTemplate, so the text of the button is reset.
If I store the text in a property and want to acces this one I get the error:
Cannot access non-static field in static context
I have a kind of sollution with going to the parent of the container like ( container.Parent.Parent.Parent ect) to approach the property. But is there a better approach to change the text of the buttons after clicking them. And I cannot do this client side.
regards, Richard