Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
192 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
388 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
437 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
177 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
1 answer
86 views
Team,

In our application, we are using Radcombox with Automatic Load on Demand property,.
We want filter option with AutoColumnSeparator property in the above scenario.

Whether it is possible to use both the property such as AutomaticLoadOnDemand and AutoColumnSeparator in the same RadComboBox?

Pls. provide the solution

Thanks
Chennai.


Veronica
Telerik team
 answered on 14 Jun 2010
1 answer
98 views
RAD COMBO BOX
            rcb.DataSource = Datasource
            rcb.DataTextField = "Name"
            rcb.DataValueField = "ID
            rcb.DataBind()

When I try to read the value "SelectedValue" it's blank.
I have to populate another combo box/Grid based on default value selected during first load.


Veronica
Telerik team
 answered on 14 Jun 2010
1 answer
111 views
Hello,
we are in need for a rating control,
currently we are using Q2 2009 and we downloaded the Q1 2010 but we are not using it

the reason is that we are afraid of backward compatibility issues.

is there any chance we can use the rating with Q2 2009? is there a stand alone DLL for it?


Tsvetie
Telerik team
 answered on 14 Jun 2010
7 answers
792 views
Hi ,
I have an application that uses rad AJAX panel. Our code gives call to the service layer to perform some operation and the result is displayed on the rad AJAX panel. Now if the service layer takes a longer time to respond, the rad AJAX panel times out and what we get is just a blank screen. Nothing happens on the screen. It seems that the request - response interface breaks.

Is there a way by which we can set the timeout property of rad AJAX panel like we can set RequestTimeout for updatePanel ?

Please help.. Its really urgent
Sebastian
Telerik team
 answered on 14 Jun 2010
1 answer
63 views
Hi,
     In my rad grid currently i am applying a default filter in Filter expression like(FilterExpression = "([JourneyClass] NOT LIKE '%Economy%')) and  I want to apply one more default filter onload of grid so that it should load the Journey data of last seven days only.
For second the db query like (select * from Journey where JourneyDate >= dateadd(day, datediff(day, 0, getdate()), -7)).this query is working fine in DB. But I have no idea how to put it for default filtering odf rad grid with the condition ((FilterExpression = "([JourneyClass] NOT LIKE '%Economy%')) ).

Please help me regarding this.

Regards,
Dheeraj
Yavor
Telerik team
 answered on 14 Jun 2010
1 answer
98 views

Hi,
I'm a RadComboBox with Image and Text.

For popolate the combo I use this method.

foreach (DataRow dr in dt.Rows)  
{  
    RadComboBoxItem item = new RadComboBoxItem(dr[descriptionColumn].ToString(), dr[codeColumn].ToString());  
        item.ImageUrl = string.Format("{0}/{1}.png", pathFolder, dr[imageColumn].ToString());  
        combo.Items.Add(item);  

It's all right, I see the image.

When I insert my combo in an UpdatePanel or RadAjaxPanel I don't view the image but an only red cross.

I suppose that Ajax doesn't succeed to open a phisical file.

Is it right? Is not possibile use ComboBox with image in an Ajax scenario ?

Thanks,
Marco

Veronica
Telerik team
 answered on 14 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?