Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
Hello ,

I want that when the pressing enter key at the last of the heading tag then i want to add a <br/> at the last but the editor add the new <p> tag

For Example:

<h2>demo test</h2>
<p>Demo paragraph</p>

Then I pressing enter key at the last of the <h2> tag like after the :
"demo test "pressing enter key here" " 
then he editor will show the content like this:

<h2>demo test</h2>
<p></p>
<p>demo paragraph></p>

but i want the result like this:
<h2>demo test <br/></h2>
<p>demo paragraph></p>

Ianko
Telerik team
 answered on 23 Jun 2014
1 answer
161 views
I am having issues using the AsynUpload control and .ascx files.  It's almost like it doesn't work with them at all.  I try to use the clientside development and the server side development and either I get errors or it just doesn't fire.  What can I do to alleviate this issue?
Princy
Top achievements
Rank 2
 answered on 23 Jun 2014
1 answer
178 views
Morning.

I want to acces the data of a NestedViewTemplate item with a button for each row there, here is a image so i can explain better:

i want to put a button where the red scuare is to acces the data that inside the blue scuare.
Princy
Top achievements
Rank 2
 answered on 23 Jun 2014
2 answers
158 views
Hello!

The property DatePopupButton-ToolTip of RadDatePicker does not work.
"Open the calendar popup." cannot be changed to empty string.

Please don't give me an answer with the javascript method. This is not the solution!
Maybe you have at least a css rule!

Thanks!
Christoph
Top achievements
Rank 1
 answered on 22 Jun 2014
6 answers
458 views
I need to change the formatting of some of the field in the row/record if one of them contains any value.
I tried this:

 if (e.Item is GridDataItem)
        {
            GridDataItem dataBoundItem = e.Item as GridDataItem;
            if ((dataBoundItem["AlternCost"].Text) != null)
            {
                dataBoundItem["AlternCost"].ForeColor = Color.Red;
                dataBoundItem["AlternCost"].Font.Bold = true;
                dataBoundItem["AlternCost"].BackColor = Color.Yellow;
                dataBoundItem["TotCost"].ForeColor = Color.Red;
                dataBoundItem["TotCost"].Font.Bold = true;
            }
        }

but I am experiencing problems because the back color applies to the entire column if the condition is true and I need it to be applied only to the "AlternCost" cell/row of the record where the condition occurs.
Please help!

Thanks
Felice
Top achievements
Rank 1
 answered on 22 Jun 2014
5 answers
550 views
I have a radgrid with 4 columns:
Quantity, Cost, SpecialCost, TotalCost
The first 3 columns are data bound, the 4td column is a Calculated column.
I need to calculate the value of the TotalCost based on Quantity*Cost, this is easy:

DataFileds: Quantity, Cost
Expression: {0}*{1}

but if the SpecialCost cell contains a value then the calculation should be done using SpecialCost*Quantity.
As far as I know, the Expression editor does not take logical functions otherwise I could simply use an if statement to check if SpecialCost contains a value and select it.

How can I achieve the above? 
Felice
Top achievements
Rank 1
 answered on 22 Jun 2014
2 answers
353 views
Hi ,

dears , I just need your help as I've a grid contain two labels they are retrieving dates " start_date " " end_date "
I already create a "diff_button", I need when I press in this button to subtract the dates and get the difference in months
and then insert the value in a cell "difference "
Mohamed El-Sayed
Top achievements
Rank 1
 answered on 21 Jun 2014
4 answers
355 views
Hi,

I have integrated the RadUploadProgress module with my web application.

Oiwng to this I had to add a new line in my web.config file as below:

<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpHandler, RadUpload.Net2"/>

The website successfully builds.
Now when I try to run the application in the debug mode, it generates a runtime error as below:

Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 
  
Parser Error Message: Could not load file or assembly 'RadUpload.Net2' or one of its dependencies. The system cannot find the file specified. (E:\Webhome\Power50\Power50UI\web.config line 97)
  
Source Error: 
  
  
Line 95:    <!--<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />-->
Line 96:    <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
Line 97:       <add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpHandler, RadUpload.Net2"/>
Line 98:    </httpModules>
Line 99:   
  

Please suggest how can I get this resolved.

Thanks.
Debashis


Satbir
Top achievements
Rank 1
 answered on 21 Jun 2014
1 answer
504 views
Hi,

Is there a way to prevent the user from entering more decimal places than specified in the decimal digits setting? 

There was another forum post asking something similar about the control automatically adjusting the value when the user enters something out of range.  Setting AllowOutOfRangeAutoCorrect="false" worked great to address the out of range problem.  Is there something along the lines of AllowRoundingAutoCorrect="false"?

If I set the Type="currency" and NumberFormat-DecimalDigits=2, then I would like the control to display the same sort of validation error as it does for an out of range entry.  Is that possible maybe with javascript?

And note...the default behavior for any control should NEVER be to just automatically change what the user enters to a valid value.

Thanks,
Princy
Top achievements
Rank 2
 answered on 21 Jun 2014
3 answers
1.0K+ views
Hi,

I have nested RadGrid and I want to get the value of a particular column from the selected row of matertableview( in other words clicking on the expand/collapse). Because, I need to use that for the child items query.

Below is my code-snippet:

​protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
{
            // code???
                    string customerid= dataItem.GetDataKeyValue("CustomerId");
 }

Thanks a million.
           
Princy
Top achievements
Rank 2
 answered on 21 Jun 2014
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?