Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
727 views
Hi,

Owing to the layout of my forms I want to have a asp:label tag styled using the same style as labels attached to a RadTextBox, combo box etc.  How would I reuse this?  Using the CSSClass="riLabel" on the username label doesn't seem to do anything so I assume that there is some level of specification behind it.  What would be nice is a RadLabel component...

<tr
    <td class="gridAdminLabel"><asp:Label CssClass="riLabel">Username:</asp:Label></td>
    <td class="gridAdminCell">
        <telerik:RadTextBox ID="uxUsername" Text="" runat="server" CssClass="formTextBox"></telerik:RadTextBox>
        <asp:RequiredFieldValidator ID="uxUsernameReq" runat="server"  ControlToValidate="uxUsername" ErrorMessage="RequiredFieldValidator"
            Text="<img src='/blank.gif' alt='Required field' class='errIconTextBox' />" Width="0" ValidationGroup="LoginValidationGroup"></asp:RequiredFieldValidator>
    </td>
</tr>


Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 08 Dec 2011
9 answers
163 views
Hi there,

I have a few buttons and a RadAjaxManager on the page. Buttons are properly with css style if no RadAjaxManager on the page. As soon as I put a RadAjaxManager on the page and control these buttons, the enabled buttons style will gone.

Please see the attached screen shot for the issue. The top line buttons in the screen shot are all disabled buttons, which are with style properly. The bottom line buttons in the screen shot shows that the "Add New" button Enabled, which has lost its style, and moved to the right most side.

Can anyone please help to give some ideas on how to fix this? Thanks a lot.
   
Meng
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
96 views
Hi,

  I had a problem with radchart. That is how to remove the radchart's background panel or resize it. I have attached a screen shot of the chart where a getting some extra space which should be removed. Please help me in this regards





Regards
Kannan.S
Giuseppe
Telerik team
 answered on 08 Dec 2011
8 answers
226 views
Hi Allow,

I am using an entity datasource on a grid and allowing auto inserts, updates and deletes. Everything seems to be working fine accept while trying to delete i am getting the following:

Error while setting property 'freightRate': '$222.00 is not a valid value for Decimal.'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.UI.WebControls.EntityDataSourceValidationException: Error while setting property 'freightRate': '$222.00 is not a valid value for Decimal.'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[EntityDataSourceValidationException: Error while setting property 'freightRate': '$222.00 is not a valid value for Decimal.'.]
   System.Web.UI.WebControls.EntityDataSourceView.ConvertProperties(IDictionary values, PropertyDescriptorCollection propertyDescriptors, ParameterCollection referenceParameters) +71835
   System.Web.UI.WebControls.EntityDataSourceView.ExecuteDelete(IDictionary keys, IDictionary oldValues) +386
   System.Web.UI.DataSourceView.Delete(IDictionary keys, IDictionary oldValues, DataSourceViewOperationCallback callback) +89
   Telerik.Web.UI.GridTableView.PerformDelete(GridEditableItem editedItem, Boolean suppressRebind) +265
   Telerik.Web.UI.GridCommandEventArgs.ExecuteCommand(Object source) +4320
   Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e) +191
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +165
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +118
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +135
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565


I have no code behind (nice) and the column markup looks like:

<

 

telerik:GridNumericColumn UniqueName="freightRate" SortExpression="freightRate"

 

 

HeaderText="Freight Rate" DataField="freightRate" ColumnEditorID="GridNumericColumnEditor1"

 

 

FooterText="Freight Rate" NumericType="Currency" DataType="System.Decimal">

 

 

</telerik:GridNumericColumn>

 


Is it because the NumericType? Should i use a Dataformatstring instead? thanks.

rw

Radoslav
Telerik team
 answered on 08 Dec 2011
14 answers
197 views
Hi All,

i used the idea of using the BinaryImageColumn for loading, inserting and editing images stored in a database with RadGrid and ajax disabled only when click the insert or edit button of the edit form like the demo on the floowing link
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/raduploadinajaxifiedgrid/defaultcs.aspx?product=grid

but i noticed in this demo, when the user click more than one on the insert button, the file will be saved more than one time!!!!

how can i solve this problem????
any idea to work around????

Thanks in Advanced...
Asa'ad...

Milena
Telerik team
 answered on 08 Dec 2011
1 answer
204 views
Hi, I have an app where I am using a RadNumericTextBox, I am required to allow users to enter positive and negative numbers and the sign must always be shown.  I have found no way to have the radnumerictext box to allow entering a positive number as +1.75, negative works fine.  This is for an optometry app where numbers are always entered with leading sign.

Anyone know how to make radnumerictextbox allow leading + sign.

Thanks
John
Kevin
Top achievements
Rank 2
 answered on 08 Dec 2011
2 answers
122 views
Hi,

I have 2 toolsfiles and i have 2 buttons. Based on button click i want to load toolsfile to radeditor. How can i achieve this on clientside.
Runat="Server"
Top achievements
Rank 2
 answered on 08 Dec 2011
1 answer
118 views
I am creating a bar chart to display the frequency each item occurred in a data set .

The problem is that legend display the item name and on the chart the each bar has an ID I want to either add the ID to the legend or replace the Id with the Item name.

Thank you and Best Regards 
Yehia 
Petar Marchev
Telerik team
 answered on 08 Dec 2011
2 answers
82 views
I'm looking to add a tooltip to a certain column in my grid, lets says its called 'TestColumn'. How do i go about adding a tooltip to cells  in just that column and not the others. At the moment i am applying a tooltip to each cell as follows:
if (e.Item is GridDataItem)
       {
           foreach (TableCell cell in e.Item.Cells)
           {
               if (cell.Text != " ") cell.ToolTip = cell.Text;
           }
       }

How do i modify this to take the column 'TestColumn' into account?
Michael
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
62 views
hi Telerik team,
I have an issue relate to radchart (i'm using RAD2010Q1.NET3.5)
The radchart show corner marks at 4 angles. I want to remove it.
Can you tell me how to do that
Please see attached file for details.
Thanks.
Lee K
Ves
Telerik team
 answered on 08 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?