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

Hi I use RadGrid with scrool and static header and in IE8 have error:

Screen

Pavlina
Telerik team
 answered on 12 Aug 2009
3 answers
124 views
Hi,

I am getting above error when clicking on edit link in RadGrid. It's working fine when column is specified in aspx page only, but when adding bound column dynamically its giving error.

My code :

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 

 

 

<telerik:RadGrid AutoGenerateColumns="false" ID="RadGrid1" OnNeedDataSource="RadGrid1_NeedDataSource"

 

 

 

AllowPaging="true" PageSize="10" AllowSorting="true" runat="server"

 

 

AutoGenerateEditColumn="true">

 

<ClientSettings>

 

 

 

<ClientEvents />

 

 

 

</ClientSettings>

 

 

<MasterTableView EditMode="InPlace" >

 

 

<Columns>

 

 

<%

 

--<telerik:GridBoundColumn HeaderText="Name" DataField="Name" UniqueName="Name" SortExpression="Name"></telerik:GridBoundColumn>--%>

 

</Columns>

 

 

</MasterTableView>

 

 

</telerik:RadGrid>
protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

 

{

 

GridBoundColumn gBColumn = new GridBoundColumn();

 

gBColumn.HeaderText =

"Name";

 

 gBColumn.DataField =

"Name";

 

 gBColumn.UniqueName =

"Name";

 

 gBColumn.SortExpression =

"Name";

 

 RadGrid1.MasterTableView.Columns.Add(gBColumn);

RadGrid1.DataSource = GetDataSet();

}

Regards
Devanand Jha

 

 

Tsvetoslav
Telerik team
 answered on 12 Aug 2009
1 answer
105 views
Hello,

The date is set to a default date if the user types in a wrongly formatted one in the RadDatePicker textbox (such as "2009-12-ORLY"). I would instead like to show an error message somehow, for example when the user then clicks the submit button. How do I stop the datepicker from going for a default date?

// Peter
Pavlina
Telerik team
 answered on 12 Aug 2009
1 answer
83 views
We are looking for an editor which can apply CSS styles to text and produce consistent visual and html results on all major browsers.

Trying a simple test, I get different results. Can you explain?

Here's the test:

We go to the your demo: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
1. click in the main paragraph
2. ctrl-a to select all
3. hit delete
4. type hello
5. double click hello to select it
6. apply css class ‘red text’ from the drop-down

Result:
IE: text turns red, and the html reads: <p class="redText">hello</p>
Chrome: text stays black, html: <span>hello</span>
Safari: text turns red, html: <span class="redText">hello</span>
Firefox: text turns red, html: <span class="redText">hello</span><br />

Is there something that we are missing or will different browsers always produce unpredictable html?

Thanks!

Jc

Tervel
Telerik team
 answered on 12 Aug 2009
1 answer
104 views
Is there a way to configure default behavior for the enter key in radeditor dialogs?  For instance, if you highlight some text, click the hyperlink-manager, add a url and hit enter, the browser just beeps. 

This can be seen at the demo site: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

It doesn't even look like the ok & cancel buttons can be navigated to via tab.
Tervel
Telerik team
 answered on 12 Aug 2009
6 answers
231 views
Hi,
I want to use the RadGrid data as the content of the RadEditor, but I have no idea how to do this, or if this is possible. Any idea how to do this?
Thanks in advance,
Simón de Lizarza
Tervel
Telerik team
 answered on 12 Aug 2009
1 answer
95 views
Hi,
in my project I'm using RadAjaxManager:
protected void Page_Load(object sender, EventArgs e)  
        {  
            RadAjaxManager1.AjaxSettings.AddAjaxSetting(Button2, Button2);  
              
        } 
I have a button with click event:
protected void Button2_Click1(object sender, EventArgs e)  
        {  
           ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CloseAndRebind();", true);  
        } 
In this  case my js script "CloseAndRebind" doesn't work.
But when I remove:
RadAjaxManager1.AjaxSettings.AddAjaxSetting(Button2, Button2);   
the code works fine. Why?
I have to ajaxified Button2.
Daniel
Telerik team
 answered on 12 Aug 2009
6 answers
204 views
I have a Rad Grid with the AllowSorting property set to "true" so on each column the column name owkrs as a link that activates the sorting, but the arrow that indicates asc or desc ordering causes an Invalid Postback or Callback Argument error/.

Strange thing is it just happens whis the arrow, not with the links. the links sort the grid with no problems.

Any ideas on how to fix this bug?
Yavor
Telerik team
 answered on 12 Aug 2009
1 answer
133 views
When on the monthly view, after enough items are added to a day to cause “Show more…” to appear, if a user floats the mouse over that link, can we change the mouse cursor to a hand icon?
Princy
Top achievements
Rank 2
 answered on 12 Aug 2009
2 answers
140 views
                             <ItemTemplate>
                            <div style="font-weight:bold;font-family:Arial Unicode MS;">
                                <br />
                                <br />
                                <table border="1" width="500px">
                                <colgroup><col /></colgroup>
                               <colgroup><col /></colgroup>
                               <colgroup><col /></colgroup>
                                    <tr>
                                        <td style="width: 100px">
                                           testtesttesttesttesttesttesttesttest testtesttesttesttesttesttesttesttesttest</td>
                                        <td style="width: 100px">
                                            rrr</td>
                                        <td style="width: 100px">
                                            rrr</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px; height: 27px">
                                            444</td>
                                        <td style="width: 100px; height: 27px">
                                            rr</td>
                                        <td style="width: 100px; height: 27px">
                                            332</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px">
                                            eee</td>
                                        <td style="width: 100px">
                                            333</td>
                                        <td style="width: 100px">
                                            211</td>
                                    </tr>
                                </table>
                                                      </ItemTemplate>
thanks !
h
Top achievements
Rank 1
 answered on 12 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?