Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
116 views
Currently evaluating Ajax.
I have an application that has a RADBUTTON
When this is pressed the handler ...
1) Connects via TCP to a remote site.
2) Send a request down the socket.
3) Receives the response, seconds later.

4) Fills a gridview
GridView1.DataSource = myData

GridView1.DataBind()


How should I go about make this ajax using telerik manager.

Thanks
Jim






Jim
Top achievements
Rank 1
 answered on 27 Feb 2012
1 answer
84 views
I have RadNumericTextboxes in rows in a grid that have "ReadOnly = false". When the page is loaded, at first on clicking the textbox I am able to edit it. But if I click any where outside the grid on the page then then the textboxes behave odd. By odd I mean when I hover the mouse over the textboxes the edit icon of the cursor come at the top edge of the textbox and only on clicking over there it enables me to edit the textbox.

Please help me out.
Andrey
Telerik team
 answered on 27 Feb 2012
1 answer
155 views
hi all,
 I read about custom skin from external library and worked with a sample. But it not working. For sample i just copied forest skin and rename to MySkin and tried. Can anyone help me fat as i researched more time for this and failed..When i run my project it showing the button without my skin. Somehow like default one

Update: Some more information when used firebug

When i check with firebug, css shows This element has no style rules. You can create a rule for it. Button element shows like the fllowing

<a id="RadButton1" class="RadButton RadButton_Special rbSkinnedButton" href="javascript:void(0)">
Bozhidar
Telerik team
 answered on 27 Feb 2012
1 answer
116 views
I load my RadMenu from SqlDataSource.
I have set skin = "" and want to set the color of menu item using CssClass.
How do i set the menu background color to white, menu item to blue, submenu item to pink and onmouse over color......
And space 4px to the menu item.
Princy
Top achievements
Rank 2
 answered on 27 Feb 2012
1 answer
731 views

 

 

while exporting grid to CSV the following column values which starts with 0 ,exclude 0 after they are exported to csv format,where as grid column values are proper with leading 0.
<
telerik:GridBoundColumn HeaderText="Code" DataField="Code" UniqueName="Code"

 

 

 

Visible="false" SortExpression="Code" DataType="System.String">

 

 

 

</telerik:GridBoundColumn>

fro excel,i did

 

e.Cell.Style[

 

"mso-number-format"] = @"\@";

 

in

ExcelExportCellFormatting event ,for the same column,so now in excel columns with leading zero are dispyaing correct values,but i m not able to get the same for CSV

Shinu
Top achievements
Rank 2
 answered on 27 Feb 2012
1 answer
183 views


Hi ,

I am a telerik licensed user.I couldn't export to pdf or RTf  of the RadEditor content.
I have already sent an email to Telerik .but I didn't get any reply.

I have given my code below.

System.Net.WebClient webClient = new System.Net.WebClient();
webClient.UseDefaultCredentials = true;
 
System.IO.Stream stream = webClient.OpenRead(url);
System.IO.StreamReader streamReader = new System.IO.StreamReader(stream);
do
{
 line = streamReader.ReadLine();
if ((line != null) && (!(line.Contains("id=\"__VIEWSTATE\""))))
 {
 content += line + "\r\n";
 
}
 
}
while (line != null);
stream.Close();
 
editor.Content =content  // editor -RadEditor name

 protected void RadButton1_Click(object sender, EventArgs e)
        {
                         editor.ExportToPdf();
        }

when I click on the PDF button ,it shows below error.

Invalid XHTML. RadEditor content should be correct XHTML in order to export to PDF.
Parse error:
Declaración DTD inesperada. Línea 674, posición 13.
at line:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Also below code shows how I placed  RadEDitor and set up its attribute for Export PDF.

<telerik:RadEditor ID="editor" runat="server" Skin="Office2007" ToolsFile="~/configfiles/write_toolbar.xml" Width="100%" Height="100%" EditModes="Design"
            EnableResize="false" OnClientLoad="writeEditor_Load" AllowScripts="false" ContentFilters="DefaultFilters,PdfExportFilter">
            <CssFiles>
                <telerik:EditorCssFile Value="styles/dummy.css" />
            </CssFiles>
            <ExportSettings OpenInNewWindow="true"   />
            <MediaManager ViewPaths="~/" UploadPaths="~/" />
        </telerik:RadEditor>



2) issue 2 -  when I export 'table'   format data ,Export to RtF  lost formatting ...

 So I want to know if it is possible to Export data into PDF and RTF without any error .

This is urgent

Thanks,
Sindu.


Princy
Top achievements
Rank 2
 answered on 27 Feb 2012
3 answers
123 views
Hi there,

Im using radgrid with numeric column and radnumbericTextbox as a filter control.  i want to disable keyboard/mousewheel increment settings from code behind. is this possible ?

thanks,
Venkat
Shinu
Top achievements
Rank 2
 answered on 27 Feb 2012
2 answers
97 views
The first item
text=30002502610747
value=3
and secend item
text=30008500000002
value=3
I can not select the second item
Ù‹telerik Q3 2011
meysam en
Top achievements
Rank 1
 answered on 27 Feb 2012
1 answer
102 views
Hi all, 

I am using telerik rad grid using GridClientSelectColumn. I m looking for validation either server side or client side for the row (i.e, check box selected).

<telerik:GridClientSelectColumn UniqueName="chkItem">  </telerik:GridClientSelectColumn>
 
Shinu
Top achievements
Rank 2
 answered on 27 Feb 2012
1 answer
132 views
I have 2  GridNumericColumn  A and B. These both columns have

DataType ="System.Int32" DataFormatString="{0:N0}"

The format works fine when it is displayed.
As per business logic I make column A as readonly in the code behind(I am doing this for the first time when Radgrid is loaded)

As I mentioned display is fine, but when I go into edit mode  ColumnA (which is in readonly now) is loosing format  and display the number with no formatting. When I come out of edit mode everything looks fine

Am I missing some setting here

Thanks for your help  

 

 

  
Princy
Top achievements
Rank 2
 answered on 27 Feb 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?