Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
71 views
I have a grid with no paging enabled and no PageSize indicated, and I discovered that when there are more than 10 rows in the grid (the default page size?), the first 10 items display fine and the rest of the rows just display narrow and blank zebra striping.  (See attachment.)

This is a grid where I programmatically put every row into edit mode.  I've not observed this behavior with other grids I am using.

Is this expected behavior?  A known issue?  The workaround is easy enough; I just set the PageSize to a sufficiently large number.  But it seems to me that PageSize should be ignored if paging is not enabled. 

Andrey
Telerik team
 answered on 18 Sep 2012
1 answer
86 views
Hi

I have a requirement to prevent moving to the next page in my Custom paging code if the current data isn't 'valid'.

Is this even possible.
Eyup
Telerik team
 answered on 18 Sep 2012
1 answer
61 views
dear friends,

I need a working sample that shows me if radeditor changed or not. I cannot simply use "if radeditor1.changed then savecontent" command. there are many possibilities and solutions of the forum. keydown event is first to control, copy paste, menu events etc. there are several solutions but nobody posted a fully functional example. I coluldn't manage combine all of them: can somebody help me please, I'm going crazy for 2 days. isnt there a simple way to learn if user changed the content of radeditor ? it cannot be so hard. I'm ready to accept that I'm an idiot but couldnt make it.

best regards...

(to admins: I posted code library section by mistake, sorry)
Rumen
Telerik team
 answered on 18 Sep 2012
5 answers
134 views
Hi, ive added a custom button to my FileExplorer toolbar and want to make it a ExplorerMode switcher using Ajax refreshing. Im unable to make it work correctly but i think im very close. When I click the button, the ExplorerMode property changes (when looking in RadAjaxManager1_AjaxRequest) but nothing happens visually. Here's the code:

<telerik:RadFileExplorer runat="server" ID="RadFileExplorer1" Skin="WebBlue" Width="99.7%" Height="250px" AllowPaging="true" PageSize="50" ExplorerMode="Default" CssClass="rfeLargeThumbnails" EnableFilterTextBox="true" EnableFilteringOnEnterPressed="false" FilterTextBoxLabel="Filter By"  meta:resourcekey="labFilterBy" DisplayUpFolderItem="false"  OnClientFileOpen="OnClientFileOpen" OnClientLoad="attachHandlers">
    <Configuration EnableAsyncUpload="true" MaxUploadFileSize="10485760" />
</telerik:RadFileExplorer>

function toolbarClicked(toolbar, args) {
    var buttonValue = args.get_item().get_value();
 
    if (buttonValue == "ViewMode") {
        var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
        ajaxManager.ajaxRequest("RadFileExplorer1_ViewMode");
    }
 
}
 
function attachHandlers(explorer, args) {
   
    var toolbar = explorer.get_toolbar();
    toolbar.add_buttonClicked(toolbarClicked);
}
 protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
  RadToolBarButton customButton =
new RadToolBarButton("ViewMode");
 customButton.CssClass = "custom_button";
 customButton.Value = "ViewMode";
 customButton.Text = "View Mode";
 RadFileExplorer1.ToolBar.Items.Add(customButton);

     }
}

protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
       {
           if (e.Argument == "RadFileExplorer1_ViewMode")
           {
               if (RadFileExplorer1.ExplorerMode == Telerik.Web.UI.FileExplorer.FileExplorerMode.Default)
               {
                   RadFileExplorer1.ExplorerMode = Telerik.Web.UI.FileExplorer.FileExplorerMode.Thumbnails;
               }
               else
               {
                   RadFileExplorer1.ExplorerMode = Telerik.Web.UI.FileExplorer.FileExplorerMode.Default;
               }
 
           }
       }

Can someone let me know what im doing wrong. It can become a nice feature to share to other members if this can work.

TIA
Vessy
Telerik team
 answered on 18 Sep 2012
1 answer
94 views
Hi,

I am using VS 2008, i want to reproduce the wizard example from http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/wizard/defaultcs.aspx link in my code. 
When i fill the personal data and click Next it gives me the error on IE9 saying, 
Error: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object. 
On mozilla it doesn't give any error and won't show any data in the Preview Control as well not go to the next step. 

Help appreciated.
Thank You. 
Nencho
Telerik team
 answered on 18 Sep 2012
1 answer
70 views
Hi there,

I am using the Telerik Ajax chart component to display two data series: the first series is a bar series showing some key figure values for specific points in time. The second series shows a target value for each key figure / bar. This is to illustrate whether each key figure value lies above or beneath the defined target value.

Therefore I created the second series as point series, defining the "point" as rectangle of 2px height and 25px width.

For some reasons sometimes the points of this second series seem to be invisible. You can see their label and debugging tells me that they should be visible but you just cannot see them. I used to set the rectangle height to 1px and when I was first facing this problem. So I changed it to 2px. My problem seemed to be solved. Now I found a use case where even the increased rectangle height does not solve the problem.

I am creating the series "manually" in code.

Can you think of any reason the described could happen? What may I be doing wrong?

Thanks a lot in advance,
Simone
Petar Kirov
Telerik team
 answered on 18 Sep 2012
1 answer
84 views
Hi, I haven a question using the filterexpression.

I have a situation where I have to use two fields as a key.  

Parent Id can be used for two cases, bakery and grocery ( kind)
same Child id can be used for both bakery and grocery as well.

The hierarchy i want to see is following:

123 bakery
-  456 bakery
123  grocery
- 456 grocery

However, this is how it shows up now.
123 bakery
456 bakery
456 grocery
123  grocery
456 bakery
456 grocery

Is there any way that I can add filter so I can check "kind" column when I create the hierarchy?
Antonio Stoilkov
Telerik team
 answered on 18 Sep 2012
1 answer
85 views
Hi,
    I would like to give tooltip to the header context menu. I want to give the menu text itself as the tool tip. How do I accomplish this. Have any idea anyone?? Please share if you have.
Savyo
Shinu
Top achievements
Rank 2
 answered on 18 Sep 2012
4 answers
101 views
Hi, I HAD problems with Hotfix Q2 703.

In your opinion, the release 2012 Q2 SP1 rolls before August ?

Thanks,
Marco
Vessy
Telerik team
 answered on 18 Sep 2012
35 answers
1.8K+ views
How is the popup window location determined when editmode is set to popup?  And how can it be changed? 

I've created a simple page with a radgrid using editmode=popup.. The simple page works fine and the popup displays up near the top when edit/insert are clicked.  We moved the code to another page the uses radtabs and put the code under on of the tabs.  When clicking edit the popup edit form displays  but it must be scrolled to.  When clicking insert the popup edit form doesn't even appear.  The grid is using an EditTemplate.  Any ideas how why this is occurring and what can be done to remedy the situation?

I've looked at the documentation and searched on popup location but didn't come up with anything.  Thanks
Rob
Top achievements
Rank 1
 answered on 18 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?