Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
160 views
Hi there!

I am trying to use the RadSplitter with its Width and Height properties at 100% to have a full screen layout in the browser.
Before you think about this : Yes, I have read all the possible answer on this subject (the 100% on each container.) Please read further

My layout is composed of an horizontal Splitter (header, content, footer), with both header and footer having fixed sizes
and a nested vertical splitter in the content, having a sliding pane on each side and a main content pane in the middle.

I've come to setup the layout at 100% percent and everything works fine... until I make a single-classic-ASP.Net postback (synchronous).

After the postback, the Splitter takes (100% + scrollbar size) in both horizontal and vertical, and thus makes window's scrollbars to appear.
I can set the overflow:hidden on body to make them disappear, but my header and footer are still overflowing on the right and bottom, hiding some of my right aligned content.... Sad world. :(

Anyone already had this issue ? is it a bug ? am I too stupid to use a RadSplitter ?
David
Top achievements
Rank 1
 answered on 03 Oct 2012
1 answer
50 views
I have implemented EnableAutomaticLoadOnDemand and can be run perfectly locally. But when I deployed it to my staging server and access it via my local IE it freezes my IE when I start typing the first character in the drop down text box. Please advise. Following is my codes:



<telerik:RadComboBox ID="RadComboBox1" runat="server"
DataTextField="Code" Height="100px"
DataValueField="ClientID" DataSourceID="SqlDataSource1" Filter="StartsWith"
DropDownWidth="500px" ShowDropDownOnTextboxClick="False"
EnableVirtualScrolling="true" ShowMoreResultsBox="true"
HighlightTemplatedItems="True" EnableAutomaticLoadOnDemand="true"
AutoPostBack="True" EmptyMessage="Enter here"
OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged"
ItemsPerRequest="10" LoadingMessage="Searching..." MaxHeight="300px"
ShowWhileLoading="False" Width="300px" ExpandDirection="Down">
</telerik:RadComboBox>
Ivana
Telerik team
 answered on 03 Oct 2012
1 answer
40 views
Hi, I was just trying to create a demo website application (ver ASP.net AJAX Q2 2012 SP1 - latest version, as of now) website from first scratch. I added a master page and the component pages.

Added sliding zone / pane, splitter and all that stuff to the content page

Tried to run it, but could not see the master page contents :-/
Plamen
Telerik team
 answered on 03 Oct 2012
2 answers
61 views
Hi dudes,
This is really interesting. We have built a web application which works in multiple languages, one of which is Farsi(Persian). In Farsi language, everything must be shown in Right-To-Left direction.

Everything was fine, until I notices a flaw this morning. In Right-To-Left TreeView, the icons for expanding the nodes are out-dented (i.e. just like they have negative margin-right values) and they are partly hidden.
After almost checking all the change-sets of our code for the last couple of weeks, I noticed that the problem is with the chrome version. In chrome version 21.* it works completely fine. But in the latest release it has the so called problem. 

I was going to report this to both Telerik and Google, and I think this bug is more related to Google than Telerik, But here is another silly problem we are facing. Because of some political reasons (The movie made against Islam and published in YouTube) we do not have access to Google's website in Iran (was that silly enough??).

So I don't know if we should do something about that in our own code (i.e. fix it by checking browser and using padding/margins) or Google and/or Telerik are going to do something about that.

Thanks,
Maziar

EDIT: A snapshot on RadTreeView demo page is also attached (taken from chrome v22)
Ivan Zhekov
Telerik team
 answered on 03 Oct 2012
3 answers
818 views

We are getting Error

No parameterless constructor defined for this object. at Telerik.ReportViewer.WebForms.SerializableReportInfo.GetReport()

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Telerik.ReportViewer.WebForms.SerializableReportInfo.GetReport()
at Telerik.ReportViewer.WebForms.SerializableReportDocument.GetDeserializedReport()
at Telerik.ReportViewer.WebForms.SerializableReportSourceWrapper.get_ReportSource()
at Telerik.ReportViewer.WebForms.ParametersPage.get_ReportDocument()
at Telerik.ReportViewer.WebForms.ParametersPage.get_ParamsManager()
at Telerik.ReportViewer.WebForms.ParametersPage.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Telerik.ReportViewer.WebForms.ParametersPage.OnPreLoad(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Binding datatable  to telerik:ReportViewer

using Telerik.Reporting;
 
    /// <summary>
    /// Summary description for VersionHistory.
    /// </summary>
    public partial class RptVersionHistory : Report
    {
        public RptVersionHistory(DataTable dtable )
        {
            //
            // Required for telerik Reporting designer support
            //
            InitializeComponent();
            this.textBox8.Name = "Title";
            this.textBox2.Name = "Version";
            this.textBox3.Name = "Created By";
            this.textBox7.Name = "Created Date";
            this.textBox5.Name = "Modified By";
            this.textBox4.Name = "Modified Date";
            this.textBox1.Name = "Title";
            this.DataSource = dtable;
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }

In sharepoint application page  in Page_Load calling as.. 

if (!this.IsPostBack)
              {
                  InstanceReportSource reportSource = new InstanceReportSource
                      { ReportDocument = new RptVersionHistory(this.DataTable) };
                  this.ReportViewer1.ReportSource = reportSource;
              }

It’s working fine in Dev. Server but not on production it showing above error anyone knows how to find out error?  

Elian
Telerik team
 answered on 03 Oct 2012
1 answer
181 views
hii,
How to show RadEditor as a textbox


thanks
Shinu
Top achievements
Rank 2
 answered on 03 Oct 2012
7 answers
128 views
Hi, I have noticed that the control is just not "printer friendly"... as it uses CSS Background images to render selection and stars, by default browsers will not print the rating control at all (because of "print background color and images" setting in most browsers being disabled by default), this can confuse users a lot!.

So far we added a CSS conditional view for the control, based just in a label followed by the rating value... but it will be great to have it better support printing in next versions!. Or if you know how I can workaround this it will be great.

Thanks!
Slav
Telerik team
 answered on 03 Oct 2012
1 answer
74 views
Hi,

I have a grid and a RadWindow inside a RadWindowManager. I am using RadAjaxManager to ajax my stuffs.

It looks like this:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <ClientEvents OnResponseEnd="OnResponseEnd"></ClientEvents>
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="gridMPA">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="gridMPA" />
                <telerik:AjaxUpdatedControl ControlID="rwDivergence" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="rwDivergence">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="gridMPA" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

I have a GridButtonColumn in my grid that I use to open my RadWindow setting VisibleOnPageLoad to show it.

My window:

<telerik:RadWindow ID="rwDivergence" runat="server" DestroyOnClose="true">
     <ContentTemplate>
                 <GESPHARxLite_2:WinDivergence runat="server" ID="ucDiver" />
     </ContentTemplate>
</telerik:RadWindow>

WinDivergence ASCX:

<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="WindowDivergence.ascx.vb" Inherits="GESPHARxLite_2.WindowDivergence" %>
 
<div>
    <div>
        <telerik:RadButton runat="server" ID="btnOk" Text="Ok"></telerik:RadButton>
        <telerik:RadButton runat="server" ID="btnAnnuler" Text="Annuler" OnClientClicked="btnOk_OnClick" AutoPostBack="false"></telerik:RadButton>
    </div>
     
</div>
 
<telerik:RadScriptBlock runat="server" ID="sbDivergence">
    <script type="text/javascript">
        function btnOk_OnClick(sender, args)
        {
            var win = $find('<%=Me.NamingContainer.BindingContainer.ClientID %>');
            win.close(null);
        }
    </script>
</telerik:RadScriptBlock>

VB:

Private Sub btnOk_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOk.Click
    Dim rw As RadWindow = Me.NamingContainer.BindingContainer
    rw.VisibleOnPageLoad = False
End Sub

When I click on the GridButtonColumn, it works like expected, but when I click on the btnOk inside de UserControl it refresh the entire page, not just the RadGrid.

Am I missing something?
Maria Ilieva
Telerik team
 answered on 03 Oct 2012
5 answers
229 views
Hi every one.

I use a radcombobox with checkboxes, and I've written a client side code (javascript) for it's onItemRequesting event.

everything is good, but when I copy my project on the web-server, my clients and I see a combobox without any checkbox and capability of type text into it for ItemRequesting, it work such as a simple RadComboBox that set it's properties to:

markFirstMatch = true

but I don't set it's properties such above!!!!

This problem is only in Internet Explorer not in Firefox.

Thanks

Kalina
Telerik team
 answered on 03 Oct 2012
1 answer
64 views
First I would like to suggest that you publish a property/method list for all ow your controls.  It is hard to browse through the intellisense lookup for the property you want.

Second.  I am looking for the property that I can populate on the server-side to intialize the time for the time picker.  I have tried radTimePicker.selecteddate.value to no avail.  Your assistence is greatly appreciated.

Thanks
Eyup
Telerik team
 answered on 03 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?