Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
56 views
I have built a page where I have a long panelbar that is set to overflow vertically.  On IE8, Safari, Chrome and Firefox, everything is great.  On IE6 and IE7, when I scroll the visible rpSlide div stays where it is, while the rest of the panelbar scrolls.  It is as if IE6/7 is rendering the div outside the flow of the panelbar.

Is this a known bug?  Any suggestions?

Thanks

Shawn McCollum
Kamen Bundev
Telerik team
 answered on 14 Jun 2010
1 answer
125 views
Team,

Am using RadUpload control for one of the purpose in my application.

My aim is to get all the file names added to the control in the sequence order.

Screen shot is attached.

For ex. My output should be C:\Test1.doc, C:\Test2.doc, C:\Test3.doc, C:\Test4.doc, C:\Test5.doc

Pls. help me out.

Thanks.
Princy
Top achievements
Rank 2
 answered on 14 Jun 2010
1 answer
104 views
Hello,

I know that ViewState can be compressed and it is a bad option for complex controls like RadGrid but please consider the markup below (having in mind that the EnableViewState option of the containing page/control is set to "false"). If I load the page initially and click the button everything's fine. But if I click it after even the slightest column resize a senseless Javascript exception gets fired with no indication what the problem may be.
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> 
    <telerik:RadGrid ID="RadGrid1" runat="server"> 
        <MasterTableView /> 
        <ClientSettings> 
            <Resizing AllowColumnResize="true" /> 
        </ClientSettings> 
    </telerik:RadGrid> 
</telerik:RadAjaxPanel> 
<asp:LinkButton ID="LinkButton1" runat="server" Text="Click Me!" OnClientClick="return Update();" /> 
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> 
    <script type="text/jscript"> 
        function Update() { $find('<%= RadAjaxPanel1.ClientID %>').ajaxRequest('', ''); } 
    </script> 
</telerik:RadScriptBlock> 
 

Is this a correct behavior of the control? Is there some kind of workaround for this crash?

Drilling down to the source of the problem took quite some time... so I guess a more meaningful exception should be thrown....

Best regards,
V.
Maria Ilieva
Telerik team
 answered on 14 Jun 2010
1 answer
107 views
The FileExplorer control does not display the specified path hierarchy.  The file explorer control is currently housed inside an EditItemTemplate for a GridTemplateColumn within a MasterTableView of the RadGrid.  I am able to find the file explorer control and change its background color, but for some reason the path is not displayed.  Any ideas?  The page design and C# code have been included below.

Page Design:
<telerik:RadGrid ID="exampleRadGrid" runat="server" 
onitemdatabound="reportDealershipRadGrid_ItemDataBound"> 
   <MasterTableView> 
      <Columns> 
         <telerik:GridTemplateColumn> 
            <EditItemTemplate> 
               <telerik:RadFileExplorer ID="fileNameRadFileExplorer" runat="server" /> 
            </EditItemTemplate> 
         </telerik:GridTemplateColumn> 
      </Columns> 
   </MasterTableView> 
</telerik:RadGrid> 
 

C#:
protected void exampleRadGrid_ItemDataBound(object sender, GridItemEventArgs e) 
{ 
        if (e.Item.IsInEditMode) 
        { 
            string path = Page.ResolveUrl("~/Files/"); 
            RadFileExplorer fileNameRadFileExplorer = (RadFileExplorer)e.Item.FindControl("fileNameRadFileExplorer"); 
            fileNameRadFileExplorer.Configuration.ViewPaths = new string[] { path }; 
            fileNameRadFileExplorer.BackColor = System.Drawing.Color.Green;
            fileNameRadFileExplorer.InitialPath = path;
        }  
} 



Fiko
Telerik team
 answered on 14 Jun 2010
6 answers
144 views
I have an issue where I have a type ahead radcombobox inside a grid, and after I open it and scroll down on the page, the  slide part of the combo box doesn't stay in position and floats down when I scroll.

I've tried to put some style on the .rcbSlide class, but to no avail.

Any Suggestions?

Nate
Simon
Telerik team
 answered on 14 Jun 2010
1 answer
76 views
We have an issue where, in IE7, after an image is uploaded, it does not appear in the folder list. The actual file is on the server but the file list in the dialog is not refreshing. The users have to exit out of the dialog, refresh and then select the image. (happens with all files actually inc docs)

This is a DNN portal (using both the Telerik and DNN provider) and version 2009.3.1104

Thanks
Ian
Rumen
Telerik team
 answered on 14 Jun 2010
3 answers
201 views

Hi Team,

I have to design a Reports page. Using Rad Docks & Rad Tabs. Requirements given below

     
Report Page contains Different Set of Dynamically created User controls. Normally User can add controls from Menu.

User controls in the Reports page can be shown in Two Views. User have a button to switch/change the view.

1) Windows view [ Contains Two Zones, User can dock the controls from One Zone to Other Zone]
2) Tab View [Tabs and Tab pages]

User Can Switch between the views at any time.
- While in Windows View, user can click on “Tabs View” and Tabs page will open with same reports as in Windows view.
- While in Tabs View, user can click on “Windows View” and Windows page will open with same reports as in Tabs view.

User can save the report. Just we will update the User Control Names, Position and ZOne number and other values in the database.

When User Switches from Windows to Tab.. same controls with user selected data should be displayed in the form of Tabs.

When user switches to Tab to Windows.. half of the controls added to first zone and the remaining to second zone.

Note: These controlled are created dynamically

My Approch:

I created two aspx pages one for Windows view and other for Tabs View.
Using Cookies when user switches the view , I am re-creating the same controls in the other page with selected data. vice versa.
But I could not populate the selected data .. But my Client does not want this approch.

He wants it to be done in One page.

His approch is like, One panel for Tabs View and Other Panel for Windows View.
When User switches the view , I have to add all the controls one panel to other panel .. Vice versa.

Please help me how to do this with a good example ? Also please let me know you have any other alternatives.

Thanks in Advance
Nag

Pero
Telerik team
 answered on 14 Jun 2010
1 answer
402 views
I have a raddatepicker on more that one control on a form.  On most of the controls, it works fine, but on one control, the popup button for the datepicker is not visible.  If you go to the spot where the button is, you will see the outline of the button and can click there and the popup calendar will appear.  I don't see that I am doing anything different on this control then the other ones.  I even added javascript to showdatepicker, but the button stil does not show.   Here is some of the related code on the ascx:

<%

@ Control Language="VB" AutoEventWireup="false" CodeFile="exAcctContractPricing.ascx.vb" Inherits="exAcctContractPricing" %>

 

<%

@ Register Assembly="Infragistics2.WebUI.WebDateChooser.v6.3, Version=6.3.20063.1059, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.WebSchedule" TagPrefix="igsch" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<%

@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

 

<%

@ Register Assembly="Infragistics2.WebUI.WebDataInput.v6.3, Version=6.3.20063.1059, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.WebDataInput" TagPrefix="igtxt" %>

 

<%

@ Register TagPrefix="igmisc" Namespace="Infragistics.WebUI.Misc" Assembly="Infragistics2.WebUI.Misc.v6.3, Version=6.3.20063.1059, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>

 

 

<

 

script language="javascript" type="text/javascript">

 

pageLoad =

function (){

 

window.setTimeout(

function() {SetDatePickers();},200)

 

}

 

function SetDatePickers() {

 

 

// get out if is in view mode

 

 

if( document.getElementById('<%= txtIsViewMode.ClientId %>').value == 'True' )return null;

 

setYearMonthPicker($find(

"<%= dpEffectiveDateContractPricing.ClientID %>"), $find('<%= rcCurrentMonth.ClientId %>').get_selectedDate());

 

setYearMonthPicker($find(

"<%= dpContractPricingExpireDate.ClientID %>"), $find('<%= rcCurrentMonthPlusAYear.ClientId %>').get_selectedDate());

 

 

//this doesn't help the popup show

 

showdatepicker($find("<%= dpEffectiveDateContractPricing.ClientID %>"))

 

showdatepicker($find(

"<%= dpContractPricingExpireDate.ClientID %>"))

 

 

}

 

<

 

asp:Panel ID="pnlAcctContractDates" runat="server">

 

 

 

 

 

 

<table border="0" cellpadding="0" cellspacing="0" style="width: 475px">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td style="vertical-align: top; text-align: left">

 

 

 

 

 

 

<div style="padding-top: 3px; padding-bottom: 7px">

 

 

 

 

 

 

<asp:Panel ID="pnlContractPricingEffectiveDate" runat="server" GroupingText="Effective Date" Width="150px">

 

 

 

 

 

 

<div style="padding: 6px; height: 95px">

 

 

 

 

 

 

<div style="padding-left: 7px; padding-bottom: 5px; height: 20px">

 

 

 

 

 

 

<telerik:RadDatePicker ID="dpEffectiveDateContractPricing" runat="server" Width="80px" DateInput-EmptyMessage="N/A" SharedCalendarID="sharedCalendar">

 

 

 

 

 

 

<DateInput ID="DateInput8" runat="server" DisplayDateFormat="MM/yyyy" SelectionOnFocus="SelectAll" EmptyMessage="N/A" InvalidStyleDuration="100">

 

 

 

 

 

 

</DateInput>

 

 

 

 

 

 

<DatePopupButton ToolTip="" />

 

 

 

 

 

 

</telerik:RadDatePicker>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

</asp:Panel>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td style="vertical-align: top; text-align: left">

 

 

 

 

 

 

<div style="padding-top: 3px; padding-bottom: 7px">

 

 

 

 

 

 

<asp:Panel ID="pnlContractPricingExpire" runat="server" GroupingText="Expiration" Width="300px">

 

 

 

 

 

 

<div style="padding: 6px; height: 95px; text-align: left">

 

 

 

 

 

 

<asp:RadioButtonList ID="rblContractPricingExpire" runat="server" RepeatDirection="Vertical" TabIndex="99">

 

 

 

 

 

 

<asp:ListItem Value="0">Never Expires</asp:ListItem>

 

 

 

 

 

 

<asp:ListItem Value="1">Expires</asp:ListItem>

 

 

 

 

 

 

</asp:RadioButtonList>

 

 

 

 

 

 

<div style="padding-left: 7px; padding-top: 5px; height: 20px">

 

 

 

 

 

 

<asp:Panel ID="pnldpContractPricingExpireDate" runat="server">

 

 

 

 

 

 

<asp:Label runat="server" ID = "ContractPriceExpireDate" >after the close of:</asp:Label>

 

 

 

 

 

<%

-- Note that I am trying to get the button to display but adding the last parameter did not help my cause

 

--

 

%> <telerik:RadDatePicker ID="dpContractPricingExpireDate" runat="server" Width="80px" DateInput-EmptyMessage="N/A" SharedCalendarID="sharedCalendar" DateInput-ShowButton = "true">

 

 

 

 

 

 

<DateInput ID="DateInput9" runat="server" DisplayDateFormat="MM/yyyy" SelectionOnFocus="SelectAll" EmptyMessage="N/A" InvalidStyleDuration="100">

 

 

 

 

 

 

</DateInput>

 

 

 

 

 

 

<DatePopupButton ToolTip="" />

 

 

 

 

 

 

</telerik:RadDatePicker>

 

 

 

 

 

 

</asp:Panel>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

</asp:Panel>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</asp:Panel>

 

Dimo
Telerik team
 answered on 14 Jun 2010
6 answers
453 views
Hi guys,
I have an issue setting the max file size allowed, the editor doesn't seem to be listening to my settings.

I followed this sample:  http://www.telerik.com/help/aspnet/editor/uploadinglargefilesusingeditor.html

But when I try to upload a file the Max file size allowed: 200.00 KB is still there and I get an error saying the file size is bigger than the allowed size.
My web.config has the following as I need files upto 11mb

<

 

httpRuntime maxRequestLength="11000" executionTimeout="3600" />

 


My editor settings are as follows.

<

 

telerik:RadEditor ID="RadEditor1" MaxDocumentSize="11000000" Runat="server" >

 

<

 

Content>

 

</

 

Content>

 

<

 

Languages>

 

 

<telerik:SpellCheckerLanguage Code="en-US" Title="English" />

 

</

 

Languages>

 

</

 

telerik:RadEditor>

 


Please have you any idea why the editor isn't allowing the upload I have a deadline COB today that I need to meet and the client can't upload large files to the system.

Cheers
Mal
Lini
Telerik team
 answered on 14 Jun 2010
2 answers
186 views
  The type or namespace name 'radpanelbar' does not exist in the namespace 'Telerik.WebControls' (are you missing an assembly reference?)
I have this already 

<%

@ Register Assembly="RadPanelbar.Net2" Namespace="Telerik.WebControls" TagPrefix="RadP" %>

 

but still on cs code it is not recongnizing radpanelbar ... 

 

private void GoToNextItem()

 

{

 

int selectedIndex = RadPanelBar1.SelectedItem.Index;

 

 

RadPanelBar1.Items[selectedIndex + 1].Selected = true;

 

 

RadPanelBar1.Items[selectedIndex + 1].Expanded = true;

 

}
on here RadpanelBar1 is complaning error above.. Radpanelbar1 is the ID of the radpanelbar ..
What I need to do?
jaws1021
Top achievements
Rank 1
 answered on 14 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?