Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
378 views
Hi,

I've run in to a problem that I can't seem to find a solution for. We want to set the label for a RadTextBox with HTML code, like this

Name <span class='required'>*</span>

We use this to give the required star a different color / style, we set it like this from the code behind:
txtT.Label = Required ? string.Format("{0} <span class='required'>*</span>", value) : value;

However the problem is the the html code is not rendered as HTML, but as readable text showing us this label in the browser.
So it shows us: Name <span class='required'>*</span>
Instead of: Name *

How can I solve this and make the label write the HTML as I set it?

Thanks,
Danny
Princy
Top achievements
Rank 2
 answered on 05 Jul 2012
3 answers
410 views
How can I get the values of all columns in a row that is previous to the current edited row? I can access the columns of the edited row, but I am not sure how to get the values of a specific row. When i am editing the grid for any particular row, I need to get the values of the immediate previous row. Can someone plese let me know?
Shinu
Top achievements
Rank 2
 answered on 05 Jul 2012
7 answers
160 views
Hi,
I have been away from telerik for a while and now i am back. I am wondering the proper way to handle the following:
1 - On my current development machines, I am currently on:
Telerik Reporting 3.0.9.430
Telerik.Web.Design dll 2009.2.826.35
I am trying to upgrade to the most current version of Rad Ajax and Reporting. Do i just download and install RadControlsForAspNetAjaxControlPanal_2012_2_607.exe and Telerik_Reporting_Control_Panel_Q2_2012_v6_1_12_611.exe over these?
2 - Where does RadControls_Q1_2009_Dev_last_update.msi come in to play?

3 - I have a new lap top that does NOT have any telerik on it. But I need to be able to run my 2009.2.826.35 telerik code until i bring this new lap top up to the latest telerik version. How do i download and install this 2009.2.826.35 version, and do i need to consider hot fixes? OR, should i just install the current version of telerik.

4 - Is there someplace i can go to see the "what and why" of how my Web.config needs to look.

thanks for your time
IQworks
Top achievements
Rank 1
 answered on 04 Jul 2012
1 answer
79 views
Hello everyone,

My sliders changing item style when sliding. 
you can check how its working from this link.
And also i changing my sliders item font size via css classes like this.

.bold5 .rslItemsWrapper li span
{
    font-size: 9px !important;
}

Problem is when sliding, unselected items font size changing by default. (11px)
How can set element style font size of my items to 9px?
You can check from this link how it works 
Thank you and best regards


omer
Top achievements
Rank 1
 answered on 04 Jul 2012
1 answer
177 views
Problem 1

As you described in your own website
http://www.telerik.com/help/aspnet-ajax/input-css-width.html

CssClass="TextBoxClass" is not working in telerik:RadTextBox. Its default width is rendering. Here is the css and aspx part.

CSS---------------------------------------------------------------------------------------------------------------------------------------------------------------

.divcol-S .TextBoxClass {width:70%!important}

ASP Page---------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="divcol-S">

<asp:Label ID="Label26" runat="server" Text="Vessel Name"></asp:Label>
<telerik:RadTextBox ID="txtVesselName" runat="server" CssClass="TextBoxClass"></telerik:RadTextBox>

<asp:Label ID="Label29" runat="server" Text="Vessel Type" ></asp:Label>
<telerik:RadComboBox ID="ddlVesselType" runat="server" CssClass="TextBoxClass"></telerik:RadComboBox>

</div>
_________________________________________________________________________________________________________________________________________________


Problem 2

As you described in your own website
http://www.telerik.com/help/aspnet-ajax/input-css-selectors.html

.riTextBox - INPUT OR TEXTAREA - The common class for the input area in all states. (from your own words)
(These class names are for the "Default" skin. For other skins, replace the string "Default" with the name of the skin.)

This means we can change the property of input/textarea globally in the entire application with this specific ClassName .riTextBox.
So no need to put CssClass on every <telerik:RadTextBox> control. But unfortunately this also not working.


CSS---------------------------------------------------------------------------------------------------------------------------------------------------------------

.divcol-S .riTextBox {width:70%!important}

ASP Page---------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="divcol-S">

<asp:Label ID="Label26" runat="server" Text="Vessel Name"></asp:Label>
<telerik:RadTextBox ID="txtVesselName" runat="server" ></telerik:RadTextBox>

<asp:Label ID="Label29" runat="server" Text="Vessel Type" ></asp:Label>
<telerik:RadComboBox ID="ddlVesselType" runat="server" ></telerik:RadComboBox>

</div.
Kate
Telerik team
 answered on 04 Jul 2012
1 answer
139 views
Dear Support,

can you explain me, why the DataKeyValues property at the MasterTableView / OwnerTableView is a GridDataKeyArray and not a Dictonary<string, object>? Because if I deserialize the KeyValues property from GridDataItem it's only a Dictonary<string, object>.

So the GridDataKeyArray could have more than one DataKeyValues.Pair. Under which cases I got more than one DataKeyValues.Pair?

Thanks alot.

Kind regards,
Christian
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Jul 2012
1 answer
109 views
I have a radComboBox containing a radTreeView for selection. It is based very strongly on one of the demos. It worked beautifully until I decided to enable/disable it in the client, based on other page events. Once the radComboBox has been disabled and re-enabled, the following lines of code in the radComboBox's OnClientDropDownOpened event handler throw an error because it can no longer find the control "rtvRights" in the item (oTreeView is undefined):
var oTreeView = sender.get_items().getItem(0).findControl("rtvRights");
var oSelectedNode = oTreeView.get_selectedNode();
As I said, this code works fine unless you disable and then enable the radComboBox using it's client-side disable/enable methods.
Plamen
Telerik team
 answered on 04 Jul 2012
3 answers
84 views
Hi,

Using checkboxes within a combo and Checkall turned on I find that if I press the icon to open the combo box then click elsewhere without checking any entries in the combo box it the closes the box and displays the text of the first item in the list even though it was not checked.

Having AllowCustomText="True" prevents this from happening however when using checkboxes this shouldn't be needed should it?

Regards,

Jon
Nencho
Telerik team
 answered on 04 Jul 2012
12 answers
365 views
 Hi, i have a page that loads user controls, like in this demo: http://demos.telerik.com/aspnet-ajax/ajax/examples/common/loadingusercontrols/defaultcs.aspx . The User control have a form (RadListView with EditTemplate) with validator controls and a ValidatorSummary control.
  The problem is, the ValidatorSummary only works with ShowSummary="True" and i need to have ShowMessageBox="True". Is it the expected behavior ? How can i get it to work?

Thanks in advance.


Andrey
Telerik team
 answered on 04 Jul 2012
1 answer
84 views
Hi,

in CreateChildControls i add the sort expressions to the grid. Because the unique name of a column could change (because the current datasource was removed from the cache because of a timeout), I clear the SortExpressions and add the new ones. But in the DataBound event, only the old sort expressions are set but not my new ones. I think they are set because of the viewstate.
How can I prevent that the Grid overrides my new SortExpressions with them from the viewstate?

Thanks!
Maria Ilieva
Telerik team
 answered on 04 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?