Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
92 views

Hi All,

 

We are using Rad Grid control and paging. While Exporting to Excel, only the page 1 records are exporting in to Excel.

Can some one advise on how i can add both Paging and Export to Excel with out using Need Data source.

Thanks

Eyup
Telerik team
 answered on 02 May 2016
2 answers
365 views

I have read many posts, samples, and crappy documentation and almost got a custom dialog working.  With the change from  to  figuring out things are quite impossible to figure out with samples and documentation not being up to date.  I created the custom dialogs using a RadWindow which is working functionally the custom button/dialogs are working fine but icons are frustrating.

I want to add two buttons and insert dialogs. I started with adding a group and buttons to the tools XML file.

 

<tools name="Messages" tab="Home">
  <tool name="MessagesTags" size="large" text="Tags" showicon="false" showtext="true" />
  <tool name="MessagesDates" size="large" text="Dates" showicon="false" showtext="true" />
</tools>

 

The buttons show up fine. "Show icons" is false because I gave up trying to show the icon but that does not work, the default icon continues to show up.

I have a master asp.net project so I put the styles in the file, I did try the master file. This is at the top of my  file just under <Content>.

 

<style>   
   .reToolbar.Default .MessagesTags {
        background-image:  url(http://www.moredogz.com/images/MoreDogzLogoSmall.gif);
    }
    .reToolbar.Default .MessagesDates {
        background-image:  url(http://www.moredogz.com/images/MoreDogzLogoSmall.gif);
    }
</style>

 

My icon if logo from another website of mine, the one used in the Telerik forum example zip is gone.

From other suggestions and a Telerik example project I tried several different web.config settings.  My RadEditor declaration is primarily done from code.

<telerik:RadEditor  ID="EmailBody" runat="server" EnableEmbeddedScripts="true"></telerik:RadEditor>

public enum RadEditorType {Normal, Messages}
 public static void UpdateRadEditor(RadEditorType type, RadEditor textEditor, int orgNumber, HttpServerUtility server)
 {      
     string folder =  "~/Organizations/Org" + orgNumber.ToString();
     string serverFolder = server.MapPath(folder);
     if(!Directory.Exists(serverFolder)) {
         Directory.CreateDirectory(serverFolder);
     }
     folder += "/";
     textEditor.ToolbarMode = Telerik.Web.UI.EditorToolbarMode.RibbonBar;
     textEditor.Skin = "Default";
     if (type == RadEditorType.Messages) {
         textEditor.ToolsFile = "~/Files/REditorToolsMessages.xml";
     }
     else {
         textEditor.ToolsFile = "~/Files/REditorTools.xml";
     }
     textEditor.CssClass = "centered-editor";
     textEditor.DialogHandlerUrl = "~/Telerik.Web.UI.DialogHandler.axd";
     textEditor.SpellCheckSettings.AjaxUrl = "/Telerik.Web.UI.SpellCheckHandler.axd";
     textEditor.TrackChangesSettings.CanAcceptTrackChanges = false;
     textEditor.ExternalDialogsPath = "~/RadEditorDialogs";
     textEditor.ImageManager.MaxUploadFileSize = 1024000;
     textEditor.ImageManager.ViewPaths = new string[] { folder };
     textEditor.ImageManager.UploadPaths = new string[] { folder };
     textEditor.ImageManager.DeletePaths = new string[] { folder };
     textEditor.ImageManager.EnableAsyncUpload = true;
     textEditor.ImageManager.MaxUploadFileSize = 1024000;
     textEditor.MediaManager.ViewPaths = new string[] { folder };
     textEditor.MediaManager.UploadPaths = new string[] { folder };
     textEditor.MediaManager.DeletePaths = new string[] { folder };
     textEditor.MediaManager.EnableAsyncUpload = true;
 }

The EnableEmbeddedScripts scripts setting is a web.config setting from the example.

I do not know what to try next.

 

 

Misho
Telerik team
 answered on 02 May 2016
4 answers
511 views
Hi team,

We have a radgrid and using needdatasourceand. We have implemented paging on to it.
So we have a search button and we click on to it radgrid displays the content from datatable. We click on 2nd page and it displays 2nd page result. Up to here its perfectly fine. Now issue comes when we are on 2nd page and we click on search button, datatable correctly populates but radgrid still shows the 2nd page result.

Expected result should show the Ist page as new search was initiated.

protected void searchMe_Click(object sender, EventArgs e)
    {
                radgrid1.DataSource = null;
                radgrid1.Rebind();      
    }

Datatable which is to be binded on button search click has the correct data in it but we don't know why this is showing the 2nd page data. Paging is working perfectly fine and we can go from one page to another with the correct data. Issue is when we click the search button after we navigate to 2nd or 3rd page, radgrid does not refreshes with the correct data.

Please help ASAP as this is extremely urgent.

Radoslav
Telerik team
 answered on 02 May 2016
2 answers
143 views

Hi community,
I am facing the following challenge:

I have a Radgrid that contains a NestedViewTemplate and inside it has another Radgrid that bounds data on item command. Everything works fine until  i try to rebind. If i don´t expand any row everything works fine with the parent grid, i can change parameters on the data source and it rebinds without any problem. But if i expand the row the issue begins, because when i try to rebind the parent it takes way too long, sometimes an exception occurs. For example normally the parent loads 17 rows, which takes up to 14 seconds, but when i expand a row and try to rebind the parent to have results from other parameter, it takes 85 seconds or more, which is too much. Like if the child grids are somehow rebinding, which shouldn´t be happening because the data bounds on item command... . I´m using 2012 Q3 of telerik controls.

I don´t really know why this happens or if i´m doing something wrong. Any idea why is this happening?

Here is the code for the child grid to bind the data:

 protected void grdODLSummary_ItemCommand(object sender, GridCommandEventArgs e)
    {
        string command = e.CommandName;
        if (command == "ExpandCollapse")
        {
             GridDataItem eitem = e.Item as GridDataItem;
             GridNestedViewItem NestedItem = eitem.ChildItem;
             RadGrid grPR;
              if (NestedItem != null)
              {
                  grPR = NestedItem.FindControl("grdSummaryPR") as RadGrid;

                  if (grPR != null)
                  {
                      grPR.Rebind();
                  }
              }
        }
    }

Dimitar
Telerik team
 answered on 02 May 2016
1 answer
419 views
I would like my validation group to only work if the Next button is clicked.  I would like to disable it for the Previous button.  In other words, I don't want the Previous button to trigger validation.  Is this possible?
Plamen
Telerik team
 answered on 02 May 2016
1 answer
78 views
Any idea how I can remove the top panel above the header?  Image attached.
Daniel
Top achievements
Rank 1
 answered on 29 Apr 2016
6 answers
128 views
Hello,

It seems to be a similar issue to the onclick return = false issue that we had before

But it seems like contenteditable is getting inserted into HTML also on some of our emails. We haven't tracked down the exact pattern that does this but I was wondering if anyone has seen this before or if there has been any tickets related to this?
Mark Kucera
Top achievements
Rank 1
 answered on 29 Apr 2016
6 answers
297 views
Hey all,

I'm curious how to change a RadTab's ImageUrl value to use another image on client click for a particular tab? The ImageUrl property is already set by default on render, just want to update it to another icon on client click?

I was unable to locate anything in the forums that addresses this issue specifically much to my surprise.

Thanks for the help!
Ivan Danchev
Telerik team
 answered on 29 Apr 2016
1 answer
88 views

Is it possible to enter PostBackUrl on RadComboBoxItem?

Using the  RadComboBoxItem Value As PostBackUrl ....

Ivan Danchev
Telerik team
 answered on 29 Apr 2016
1 answer
123 views

I used two RadListBox, one is right and other left on screen.

And Explorer apply Compatibility View Settings.

So Explorer Version is IE5, but I didn't have any problems.

before upgrade telerik Version.

 

I used to use 2014.2.724.35 version. And now upgrade to 2016.1.225.35

And then RadListBox got a problem.

When I scrolls down and select a item. (on name)

Immediately ListBox scrolls up and uncheck that item.

 

If I select a item (right side name), I can check it but can't get back uncheck item...

I try to select a check item, automatically scrolls up again......

 

I think that is Version problem but I have to use IE5 and apply Compatibility View Settings.

How to figure out this problem...

 

 

Please answer

Dimitar
Telerik team
 answered on 29 Apr 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?