Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
96 views
Team

I've Radgrid with first 2 columns are link based. If I export the same to MS word 2003 the links are also coming.
While I ExportOnlyData it removes all the datas too in the MS Word..
Pls. give me the solution to come around this...

I hope U'll help me out on this.


Thanks
Rajesh N.
Daniel
Telerik team
 answered on 24 May 2010
2 answers
244 views
Hi all,

I had a problem with my grid showing a horizontal scrollbar when it shouldn't.  I searched this forum for answers and found these three gems:
Remove the width on the MasterTableView.
Set the TableLayout to Fixed. 
Make sure the total of the column widths is less than the grid width.

That fixed it for IE8 - 8.0.7600, FF 3.6.3, and Chrome 4.1.249.1064.  But the problem still persists in IE7.  Can someone look at my grid declaration and see if there is something I can do to fix this?  Thanks!

 <telerik:RadGrid ID="grdFilters" runat="server" Width="614px" Height="150px" Skin="Web20"  
             AllowSorting="true" AutoGenerateColumns="false" AllowAutomaticDeletes="True"
             <MasterTableView RetrieveAllDataFields="false" ShowHeadersWhenNoRecords="true" 
             EnableNoRecordsTemplate="true" CommandItemDisplay="None" TableLayout="Fixed" > 
             <Columns> 
                 <telerik:GridBoundColumn DataField="FieldName" SortExpression="FieldName"  
                 HeaderText="Filter Type" HeaderStyle-Width="140px" > 
                 </telerik:GridBoundColumn> 
                 <telerik:GridBoundColumn DataField="FieldCompTypeText" SortExpression="FieldCompTypeText"  
                 HeaderText="Operand" HeaderStyle-Width="120px" > 
                 </telerik:GridBoundColumn> 
                 <telerik:GridBoundColumn DataField="FieldCompValueText" SortExpression="FieldCompValueText" 
                 HeaderStyle-Width="230px" HeaderText="Value" > 
                 </telerik:GridBoundColumn> 
                 <telerik:GridButtonColumn Text="Delete" CommandName="Delete" ButtonType="ImageButton"
                 <HeaderStyle Width="70px" /> 
                 </telerik:GridButtonColumn> 
                 <telerik:GridBoundColumn DataField="FieldLineItem" Visible="false" HeaderStyle-Width="0px"
                 </telerik:GridBoundColumn> 
                 </Columns> 
                 <NoRecordsTemplate > 
                   <div style="font-style: italic; vertical-align: middle; text-align:center;"
                   <br /><br /> 
                   No filters to display 
                   </div> 
                   </NoRecordsTemplate> 
                  </MasterTableView> 
                    <ClientSettings Scrolling-AllowScroll="true" Scrolling-SaveScrollPosition="true" 
                    Scrolling-UseStaticHeaders="true" Selecting-AllowRowSelect="true" 
                    EnablePostBackOnRowClick="true"  > 
                    </ClientSettings> 
</telerik:RadGrid> 


dd
Top achievements
Rank 1
 answered on 24 May 2010
1 answer
232 views
I'm using a RadEditor inside an Ajax Update Panel and Have a custom tools file.
<telerik:RadEditor ID="reQuestionText" OnClientLoad="OnClientLoad" StripFormattingOnPaste="MSWord" 
                                    EditModes="Design" Width="100%" Height="150px" runat="server" ToolsFile="~/Controls/Telerik/RadEditorBasicTools.xml" /> 


In the page, I don't display the Editor on the Page_Load itself. The editor is displayed only after I click a button.
But, once it is displayed, the toolbar buttons don't display properly (see attachment radeditor_on_initial_page_load.png)
protected void Page_Load(object sender, EventArgs e) 
   if(!IsPostBack) 
      reQuestionText.Visible = false
 
protected void btnDisplayEditor_Click(object sender, EventArgs e) 
   reQuestionText.Visible = true
 
protected void btnSave_Click(object sender, EventArgs e) 
   SaveRadEditorContent(); 


Then if I do a postback (use a Save button to save the content in the editor), the editor seems to display so weirdly (see attachment radeditor_after_postback.png)

The same works properly if I display the editor on the first time itself.

Any help will be greatly appreciated.

Thanks,
Ashu.
Ashu Sukumar
Top achievements
Rank 1
 answered on 24 May 2010
1 answer
87 views
Hi Everyone,

It seems that is a problem with the javascript code that is added to the onload atribute of the body tag, but only for IE, for Firefox this is working correctly.

To reproduce this problem just open the demo editor page in IE, switch to HTML view and add the onload="alert('page loaded')" code to the body tag. After that switch to Preview view or Design view and switch back to HTML view. You will notice the onload attribute is removed.

As I've said, on the Firefox this is not happening (the onload attribute is still there).

Please tell me, is this a known issue and if so it is fixed?

Thanks,
Marius
Rumen
Telerik team
 answered on 24 May 2010
2 answers
135 views
I have a template column in a  radgrid.
The filter row applies any filters whenever a user enters text into any filter textbox and presses enter.

I have added a template column that has a dropdown bound to a linq to sql datasource.

It is populating just fine.  I am hocking up to the selectedindexchanged event on the dropdown when a user changes the filter item in the dropdown and it is set to autopost back.

In the selectedIndexChanged server side code (.cs)  I need to apply whatever they selected to the radgrid filters.  

What I mean by this:
  If the user has already applied a few filters before selecting a item in the dropdown. I need to append this additional filter parameter to the filterexpression of the radgrid.

Anyone aware of a good example of applying another filter and maintaining the current filters already applied.


Wired_Nerve
Top achievements
Rank 2
 answered on 24 May 2010
1 answer
132 views
Hello,

I am using telerik asp.net ajax trial version. I used form decorator  for asp.net buttons. In IE7 I get correct shape of the button while in Forefox the button shape is looks distorted (as displayed in attached image)

<asp:Button Skin="Web20" Style="color: #fff; width: 100px;" ID="btnSearch" runat="server" Text="Search" EnableEmbeddedScripts="false" /> 
<asp:Button Skin="Web20" Style="color: #fff; width: 100px;" ID="btnResetSearch" runat="server" Text="Reset" /> 
 
.... 
.... 
 
<telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="Buttons,Textbox" Skin="Web20"
</telerik:RadFormDecorator> 


Can you please let me know the solution for same ?

Thanks,
Prayag
Rumen
Telerik team
 answered on 24 May 2010
1 answer
169 views
Hi,

Actually I have this form:

<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">

<input type=hidden name="oid" value="00D20000000K7Ur">
<input type=hidden name="retURL" value="http://www.nobelcg.com.au">


<label for="first_name">First Name</label><input  id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>

<label for="last_name">Last Name</label><input  id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>

<label for="email">Email</label><input  id="email" maxlength="80" name="email" size="20" type="text" /><br>

<label for="company">Company</label><input  id="company" maxlength="40" name="company" size="20" type="text" /><br>

<label for="city">City</label><input  id="city" maxlength="40" name="city" size="20" type="text" /><br>

<label for="state">State/Province</label><input  id="state" maxlength="20" name="state" size="20" type="text" /><br>

<label for="phone">Phone</label><input  id="phone" maxlength="40" name="phone" size="20" type="text" /><br>

<label for="salutation">Salutation</label><select  id="salutation" name="salutation"><option value="">--None--</option><option value="Mr.">Mr.</option>
<option value="Ms.">Ms.</option>
<option value="Mrs.">Mrs.</option>
<option value="Dr.">Dr.</option>
<option value="Prof.">Prof.</option>
</select><br>

<label for="description">Description</label><textarea name="description"></textarea><br>

<input type="submit" name="submit">

</form>



When I put this form throught RADeditor, its not working on our website. However, if I create an HTML page on my computer desktop and put this form, then its working. 

Please provide suggestions.
Rumen
Telerik team
 answered on 24 May 2010
5 answers
604 views
hi,

I am using Rad controls of version 2009.02.0826.20 .
I need to enable/disable radeditor or make it editable  in javscript based on radio button click.

I went through few forums could not find the soln working.
editor is var by client id

editor.disabled=

false;  is not working out...

 



Please assist me.

Regards
Vishesh
Rumen
Telerik team
 answered on 24 May 2010
4 answers
144 views
Hi,
I have a base page inheriting from System.Web.UI.Page and the rest of my pages inherit from this base page so I can manage security etc. in one place. What I wanted to know was whether I can place a FormDecorator on the base page so as to automatically control skins on all descendants from one place?
It does not seem to work currently and I get errors as soon as I drop FormDecorator on the base page, something about "unable to cast RadformDecorator to ISkinnableControl".

If this is not possible, any other ideas on how to achieve central control of skins would be great.
Al
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 24 May 2010
2 answers
152 views
Hi
I am evaluating the RadScheduler for possible use in a preventative maintenance scheduling application.
What I need to know is whether there is a way to programmatically access a list or collection of appointments for a given time period?
From this I need to then create a maintenance 'job' for each appointment that will be carried out on a handheld device.

Any help much appreciated.

Jonathan Attree
Schlurk
Top achievements
Rank 2
 answered on 24 May 2010
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?