Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
Hello,

I have a Horizontally split Splitter (header, content) and then the content is a vertically split Splitter (LeftNav, MainContent).
I have the MainContent RadPane set to scroll in both directions and I have followed the directions of setting the style of html, body,form to height:100% and height=100% down the hierarchy to the pane.

Inside the MainContent RadPane I have a RadGrid that is very long and therefore causes the RadPane scrollbars to show. Everything works until I scroll down and select a row in the RadGrid. Then, depending on how far down I have scrolled I get everything on the screen shifted upward. In the worst case, the screen appears to be completely blank (no content, no scrollbars). When I have scrolled just one page down and then select a row, then everything on the screen appears to have been painted off by the amount of the scroll down. For example, the header is missing and the scrollbar only goes down 2/3 of the screen.

Any ideas what is happening?

Anne
Anne Chinn
Top achievements
Rank 1
 answered on 09 Mar 2011
4 answers
77 views
I have been trying to get the RadRotator images to display in Mozilla Firefox 3.6 but it doesn't show anything, just the background color.  Is there any solution to this problem?
Brett
Top achievements
Rank 1
 answered on 09 Mar 2011
11 answers
146 views
I tried to mimic the example here:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx

However I am unable to get the tooltip to pull in the data from the event item. Can someone fill me in on how that info is passed to the class? Maybe I have a spelling error or something.

It works if I hard code the text as such:

protected

 

 

override void OnPreRender(EventArgs e)

 

 

{

 

 

 

base.OnPreRender(e);

 

 

StartingOn.Text =

 

"Start Date HERE"; //apt.Owner.UtcToDisplay(apt.Start).ToString();

 

FullText.Text =

 

"Description Here<br /><br /><br />"; //apt.Subject;

 

}

Otherwise I get a JS error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; BRI/1; .NET4.0C; .NET4.0E)
Timestamp: Tue, 22 Feb 2011 23:02:54 UTC

Message: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.
Line: 4723
Char: 21
Code: 0
URI: http://localhost/calendar/ScriptResource.axd?d=PeJmTGtbo6emTCMAFGjoVIZNSw0D1j6wp348ikmvclZFjWaJlpExLMpCLhd9-V5RTYDkwGS4vY5sCHAddiMlIhhTtgF_xtflgwD7pz3oq-dsmru87Akfq0gE17iRhBAnYH6LVvCzb_t115UFLRqJSGUkW2V_nRmPubJqQpIByqJPzK9K0&t=5c2f384e

 

Veronica
Telerik team
 answered on 09 Mar 2011
3 answers
152 views
Hello,
I'm using a WebUserControl to edit/insert data into my radgrid. I experience some inconsistent behavior when I tried to access the data inside my WebUserControl. The way I access the data  is

GridEditFormItem editedItem = (GridEditFormItem)_radgNiv3.MasterTableView.GetItems(GridItemType.EditFormItem)[0];
 
if (editedItem.CanExtractValues)
{
       UserControl userControl = (UserControl)editedItem.FindControl(GridEditFormItem.EditFormUserControlID);
...

The update/insert operation can be initiate from different control in the page, so it doesn't always go through the ItemCommand event of my radgrid. Every control that can initiate an update/insert is using ajax. Here's a part to illustrate the situation

  <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="_lbtnAdd">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="_radgrig"
                    LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
...

_lbtnAdd is a LinkButton. If _radgrig is in edit mode and the user click on _lbtnAdd, I'm suppose to check for modification than act accordingly. But, code that work in other situation, doesn't work here, editedItem.CanExtractValues = false. Of course, if I tried to find my form, it stays null. Looking inside of editedItem, I can see that there is an exception inside the object:
EditManager   'editedItem.EditManager' threw an exception of type 'Telerik.Web.UI.GridBindingException'   Telerik.Web.UI.GridEditManager {Telerik.Web.UI.GridBindingException}

Going deeper, reveal:
base   {"The current EditFormType does not support the requested editing capabilities."}   System.Exception {Telerik.Web.UI.GridBindingException}

This one is driving me nuts since it come and go. How can I make sure to always be able to access the data? What can cause the exception? Is it related to event order? Please help!!!

Thank you for your time,
Louis-Philippe
Louis-Philippe
Top achievements
Rank 1
 answered on 09 Mar 2011
1 answer
49 views
I have the FileExplorer working perfectly in IE 8, but in both Chrome and Firefox the folders display fine, but the files do not display at all. Can anyone give me a work around for this? Thanks.
Dobromir
Telerik team
 answered on 09 Mar 2011
1 answer
113 views
I have the Image Manager ViewPaths set to a Virtual directory.  When I load the Rad Editor I can see the contents of that folder, however, if I select an image I can not see that image in the right most panel.  Further, if is insert that image into my document.  It fails to render.  When I check the html I can see that an image was inserted, and that the path is correct.  However, the image fails to appear.  If I navigate directly to the image in my browsers address bar it appears. 

What could be the issue?

See attached screenshots.
Rumen
Telerik team
 answered on 09 Mar 2011
1 answer
126 views
Hi There,

Is is possible to use the RadRotator in LoadOnDemand mode when the data comes from an XML file? I have an xml file with approx 200 images listed. I want users to be able to scroll one image at a time but naturally I don't want to have to load 200 images when the rotator loads, I want to be able to load images one at a time.

Any pointers to pull this off, preferably without having to write a web service, would be greatly appreciated.

Regards,
Phill
Niko
Telerik team
 answered on 09 Mar 2011
1 answer
79 views

Hi i am creating Radeditor dynamically (on the fly) in codebehind. Which is working fine in IE. But i am facing a strange issue in firefox, where only the first radeditor is loaded correctly rest of the Radeditors are not allow to edit but it;s not giving any javascript error and all the tool menu items are loaded.

 

Kindly help..

 

Thanks in advance.

Rumen
Telerik team
 answered on 09 Mar 2011
2 answers
100 views
Hello,
Ive created a custom DB provider in order to assign multiple resources to an appointment. I also have a custom advanced editing form that has a number of drop down lists. each custom dropdown has a corresponding custom attribute.  
I have coded my provider so all of the resources that need to be loaded into the dropdowns are available via properties but I dont know how to hook the two up? 
For example, I have the following property in my custom provider:

    private IDictionary<int, Resource> Locations
    {
        get
        {
            if (_locations == null)
            {
                _locations = new Dictionary<int, Resource>();
                foreach (Resource location in LoadLocations())
                {
                    _locations.Add(Convert.ToInt32(location.Key), location);
                }
            }
            return _locations;
        }
    }

How do I get these locations to populate a dropdown on my Advance Edit form?
Is this the recommended/correct way to do this?

Thanks
Alex
Peter
Telerik team
 answered on 09 Mar 2011
4 answers
175 views
Current environment:

ASP.NET (3.5 / VB.NET)
Telerik Controls Q2 2010
Visual Studio 2010 Ultimate

Problem:

Currently I have a user control where the radgrid is placed on and gets dynamically loaded via the code behind of the user control. This radgrid contains 2 columns that have a fixed width of 30 Pixels. Somehow when I add an extra column (so my grid consists 3 columns) the first 2 columns gets also resized even when I have set those columns a fixed width by the HeaderStyle and even the ItemStyle property. I have also set my radgrid with the TableLayout fixed and in the scrolling I've set the staticheader to true (in the below code sample you see the current radgrid).

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="true" HeaderStyle-Wrap="false" EnableHeaderContextMenu="true"
EnableViewState="false" AllowPaging="true" PageSize="20" Skin="Default"
EnableEmbeddedScripts="false" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" RegisterWithScriptManager="false"
AllowSorting="true" GroupingEnabled="false">
<MasterTableView TableLayout="Fixed" />
<PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" />
<ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder"
        Resizing-AllowColumnResize="true" Resizing-ResizeGridOnColumnResize="true" >
        <Scrolling UseStaticHeaders="true" AllowScroll="true" ScrollHeight="20px" />
</ClientSettings>
</telerik:RadGrid>

When I move my screen to a greater screen with a resolution of 1920 those fixed columns are also getting resized which what I don't want.

Thank you in advance.
Pavlina
Telerik team
 answered on 09 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?