Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
85 views
I have a radgrid on a multipage in a Intrasite module. The OnNeedDataSource doesn't seem to fire when the multipage shows the pageview with the datagrid. But if i click the Grid tab again after clicking first tab the OnNeedDataSource  firing.

The Grid is placed in the second tab which is not a selected page initially.

Please help me 


Thanks
Gopinath
Dimitar Terziev
Telerik team
 answered on 03 Oct 2011
3 answers
303 views

i am working on a web application that needs to load customised grid column headers depending on the logged in users locale.

there are a number of different grids in the application, and whilst many of the header labels for these grids are generic, a small number are not and need to be loaded at runtime to the term relevant to them.

how would i do this?

currently my grid is populated from a datatable and the column names are coming from the datatable column names.

i think first step will be to create my localised column names in a database for each locale and bring them into my datatable.

i just need to know how to populate/override my radgrid column header text with the database values for specific columns.

Mark
Top achievements
Rank 1
 answered on 03 Oct 2011
2 answers
90 views

One of my end-user copied this kind of text from Word:

<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="TEXT-DECORATION: underline"><SPAN style="mso-ansi-language: EN-US" lang=EN-US>Symptom<o:p></o:p></SPAN></SPAN></B></P>

The problem is that the RadEditor transforms that to:

<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;">Symptom<o:p _rdEditor_exists="1"></o:p></b></p>

Here, the "underline" style disappears. Is there a way to prevent that? 

jc mag
Top achievements
Rank 1
 answered on 03 Oct 2011
1 answer
140 views
Hi there,

I have a little problem with my Radcombobox. When I am opening the Advanced form and I am clicking on a combobox the view looks fine. But when I start scrolling the scheduler is scrolling and the items are  scrolling with it. I added a screenshot of it in the attached files. 

Does anyone know how to disable scrolling when the Advanced form is openened, or how to solve this problem.

Hope someone can help me,

Thanks
Dimitar Terziev
Telerik team
 answered on 03 Oct 2011
1 answer
114 views
I have a grid with 7 columns of which 3 are checkboxes. I have applied sorting in the grid as shown below :-
<telerik:RadGrid ID="grdSearchResults" runat="server" AllowSorting="true" 
  
GridLines="None" Skin="Windows7" AutoGenerateColumns="False" 
  
PageSize="5" onitemdatabound="grdSearchResults_ItemDataBound" 
  
onneeddatasource="grdSearchResults_NeedDataSource" >
  
<ClientSettings EnablePostBackOnRowClick="true" EnableRowHoverStyle="true"> </ClientSettings>
  
<MasterTableView Width="100%" TableLayout="Auto" CommandItemDisplay="Top" AllowPaging="true" AllowSorting="true" PageSize="10" >
When I click on any of the column headers the grid is sorted correctly for the first 4 columns. However the 3 checkbox columns are not re-ordered according to the newly sorted grid. I am attaching screenshots for "Grid before sorting" and "Grid After Sorting" to get a better idea. The 3 chkbox columns are manipulated in the itemdatabound event of the rad grid. The code of item databound event is as follows :-
protected void grdSearchResults_ItemDataBound(object sender, GridItemEventArgs e)
        {
            try
            {
            if (e.Item is GridDataItem)
            {
                DataTable dt = (DataTable)ViewState["StatementList"];
                if (dt != null)
                {
                     
                        string credit = dt.Rows[e.Item.ItemIndex]["CreditImage"].ToString();
                        string BackImages = dt.Rows[e.Item.ItemIndex]["BackImage"].ToString();
                        string AddImages = dt.Rows[e.Item.ItemIndex]["Image"].ToString();
  
                        CheckBox chkCredits = (CheckBox)e.Item.FindControl("chkCredits");
                        CheckBox chkBackImages = (CheckBox)e.Item.FindControl("chkBackImages");
                        CheckBox chkAddImages = (CheckBox)e.Item.FindControl("chkAddImages");
  
  
                        if (credit == "True")
                            chkCredits.Checked = true;
                        else
                            chkCredits.Checked = false;
                        if (BackImages == "True")
                            chkBackImages.Checked = true;
                        else
                            chkBackImages.Checked = false;
                        if (AddImages == "True")
                            chkAddImages.Checked = true;
                        else
                            chkAddImages.Checked = false;
                }
  
            }
          
            }
            catch (Exception ex)
           {
                Log.WriteLine(LogParams.USERCONTROLS, "StatementGrid : grdSearchResults_ItemDataBound : " + ex.Message, LogLevel.Error, LogParams.ERRORMSG);
                LoadDummyData();
            }
        }
Let me know how can I solve this issue and get the sorting right.
Jayesh Goyani
Top achievements
Rank 2
 answered on 03 Oct 2011
0 answers
58 views
Hello,

I have a web part which contains RadPanelBar.Inside it there are many RadPanelItem.One of my RadPanelItem contains a FileUpload(ASP.Net file upload) control and also a button to submit it after browsing the image.I have used RadAjaxManager,but the page refresh and also i am not getting the HasFile property of FileUpload control at server side. Please give the solution for this problem.

Thanks
Er.Velkumar
Velkumar
Top achievements
Rank 2
 asked on 03 Oct 2011
1 answer
96 views
Hi, You have a few samples on your site that purport to do load on demand, but from what I can tell, they do not provide what I need which is

In radgrid edit mode, a combobox appears and when a few letters of text are typed, we ajax request names that are like the text that is typed at which point you can select one of the items.

The demos I can find populate the combobox with a datatable, but there is no load on demand. The application I am working on provides access to over 10k of names, so loading all of them will result in horrible performance.

If this can be achieved, please let me know.

Dimitar Terziev
Telerik team
 answered on 03 Oct 2011
1 answer
127 views
Hi,
    I'm using telerik radeditor 5.8.11 version. I added a sentence and three words under it. When I added a bullet to the first word it worked fine and then I added bullet to the sentence then it messed up the format. Attached are the images illustating this issue.
Rumen
Telerik team
 answered on 03 Oct 2011
2 answers
372 views
I have a programmatically created RadGrid@

1) when it's rebound (Rebind() method is called) on Page_Init() event and added to a place holder on the page.

below features work fine:
  • Normal load
  • nested tables
  • Export to excel feature - the properties e.g. ExportDataOnly

Below feature doesn't work:
  • RadGrid Paging

2) When Rebind() is called on the RadGrid_PreRender event

The below features work fine:
  • Normal load
  • nested tables
  • RadGrid Paging

the below feature doesn't work:
  • Export to excel feature - the properties e.g. ExportDataOnly

************
Basically, at which event the RadGrid Rebind() method should be called so that all the above features of the RadGrid work?!

I tried these: RadGrid_Load, RadGrid_Init, Page_PreInit, etc but couldn't any location using which all these features work.

Please advise.

Thanks
Pooya
Top achievements
Rank 1
 answered on 03 Oct 2011
1 answer
55 views
Rad Editor is not working in Firefox 6. the details about Rad Editor is Given Below

Name :- RadEditor.Net2

Version :- 7.2.1.0

I also  attached Screenshot in it.
Rumen
Telerik team
 answered on 03 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?