Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
198 views
Hi,

I am getting a issue as "Multiple Controls with same Id". Find control requires Unique Control id's.

I am not setting any control ids through code. But i do not know where these are getting set and exception are getting thrown.

Help me out as quick as possible.

Thnx in advance.


Matt
Top achievements
Rank 1
 answered on 05 Nov 2009
3 answers
132 views
Hi,
 I am trying to upload files (.zip/.doc of max size 250MB). But not being able to upload. RadUpload.UploadedFiles.Count is always 0.

Can somebody please help me with this?

PFB my code :

aspx :
 <telerik:RadUpload ID="RadUpload" Runat="server"  

 

ControlObjectsVisibility="None"

 

OverwriteExistingFiles="false"

 

 

 

AllowedFileExtensions=".zip" ForeColor="#00CC00" MaxFileSize="409600"

 

 

 

MaxFileInputsCount="1" TargetFolder="~/bin">

 

 

 

</telerik:RadUpload>

 

 

 

 

 


.cs :

protected

 

void btnUploaded_Click(object sender, EventArgs e)

 

 

 {

 

if (rulTaxForms.UploadedFiles.Count> 0)

 

 

 {

 

 

 }

 

Michael
Top achievements
Rank 1
 answered on 05 Nov 2009
1 answer
99 views
Hi

Urgent problem.. about to go live!

I have a master page with a panel bar as menu that has been working for some months.
Today it has developed a strange problem on my development machine:
When you click a top level item, the child items open in in a layer above the subsequent item,
 and only shows as text (no bar background image). It does not displace lower items downwards.

It seems like ajax not quite working.

I tried two things:

1 ) I copied back a working version from my remote server
     It still doesn't work on the development machine, so it looks like the page itslef is OK.

2 )  I created a Panel bar on a test page on my local machine - it works normally

I am baffled, and don't know where to look. Can you suggest where to start looking?

I am using the latest hotfix, downloaded last week

Thanks for urgent response!

Clive
Clive Hoggar
Top achievements
Rank 1
 answered on 05 Nov 2009
3 answers
256 views
Hi,

I have been having trouble adding a Google Maps APi to a MultiPage and TabStrip. If the Google Maps is in the selected index 0, that is the first page everything works fine, but if I have the map in a different page, say index 1 or 2 the map appears but it does not work properly. I also have a asp button in the same page of the map, which for the moment has no function, if I press it the page reloads and the map works fine.
Thanks...
Paco Valverde
Muhammad Imran
Top achievements
Rank 1
 answered on 05 Nov 2009
5 answers
154 views

The issue which we are facing while working on Telerik web parts personalization is, we are not able to save current position of web parts.

 

We need to save state of a particular web part in each and every drag drop, for that we have attached “OnDockPositionChanged” to every RadDock control, but this event is not getting fired while moving the web parts.

 

So please suggest that:

 

1.     Which event should be used to save state for every movement.

2.     What  is the ideal approach to implement personalization using database.  

Thanks in advance.

Parimal Modi

Parimal Modi
Top achievements
Rank 1
 answered on 05 Nov 2009
6 answers
156 views
We upgraded our controls from the 2 year old Radgrid dll to using the telerik.web.ui and now we have lost the add new item from the top of the grids. Please let us know what has changed. I have tried several examples from your site and cant get it to show back up. Thanks.

<

 

telerik:RadGrid runat="Server" ID="InfoGrid" Skin="Office2007" AutoGenerateColumns="true" AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true">

 

 

 

<SelectedItemStyle CssClass="SelectedStyle" />

 

 

 

<MasterTableView CommandItemDisplay="TopAndBottom">

 

 

 

<CommandItemTemplate>

 

 

 

<asp:LinkButton runat="Server" ID="btnAdd2" Text="Add Incentive" CommandName="InitInsert" />

 

 

 

</CommandItemTemplate>

 

 

 

 

<Columns>

 

 

 

<telerik:GridBoundColumn UniqueName="IncentiveID" ReadOnly="true" Display="False" DataField="IncentiveID" ForceExtractValue="InEditMode" />

 

 

 

<telerik:GridBoundColumn HeaderText="Details" DataField="Incentive" UniqueName="Incentive" />

 

 

 

 

</Columns>

 

 

 

 

<NoRecordsTemplate>There Are Currently No Incentives</NoRecordsTemplate>

 

 

 

</MasterTableView>

 

 

 

</telerik:RadGrid>

 

 

Henry
Top achievements
Rank 1
 answered on 05 Nov 2009
2 answers
136 views
I am trying to do RadMenu by reading all content from XML file.  And adding some item elements to the menu on C# code like the one on the video tutorial.  the C# code is the following:

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Xml;
using Telerik.Web.UI;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
    protected void RadMenu1_ItemDataBound(object sender, Telerik.Web.UI.RadMenuEventArgs e)
    { 
        XmlElement element = e.Item.DataItem as XmlElement;
        if (element.Attributes["ParentID"].Value == "Carriers")
        {
            e.Item.Width = Unit.Pixel(228);
            Telerik.Web.UI.RadMenuItem mItem = e.Item.Parent as RadMenuItem;
            XmlElement elements = e.Item.DataItem as XmlElement;
            
            Panel CarriersLink = CreateCarriersNavigation(elements.Attributes["LogoLocation"].Value,
                                                          elements.Attributes["NavigateUrl"].Value);
            
            e.Item.Controls.Add(CarriersLink);
        }
    }
    private Panel CreateCarriersNavigation(string LogoLocationSrc, string NavigateUrlSrc)
    {
        Panel CarriersNavigationPanel = new Panel();
        
        Image CarriersLogo = new Image();
        CarriersLogo.ImageUrl = LogoLocationSrc;
                
        HyperLink CarriersLogoLink = new HyperLink();
        CarriersLogoLink.ImageUrl = LogoLocationSrc;
        CarriersLogoLink.NavigateUrl = NavigateUrlSrc;
       
        CarriersNavigationPanel.Controls.Add(CarriersLogoLink);

        return CarriersNavigationPanel;
    }
}

Please refer to picture below:

http://img524.imageshack.us/img524/3631/26999155.png

My questions would be:

1)  How can I add the item (element) by 4 rows and 4 columns (total 16 items).  As you can see from the picture, the item is added below, so there is only 1 column and lots of row items.  I want to do 4 rows items, then start new column by adding others items.  So if I have 16 items, then it would be 4 rows and 4 columns

2)  Those logo are the link to external link.  It does work.  However when click on it, it will replace the current page.  How do I make it to open in the new tab or new window.   For example, <a href=http://www.newsite.com target='_blank'>new site</a> will open that page in the new page.  But I cannot do that since the code need to be in C# (the copy of code is above).

Thanks in advance
  
Urt
Top achievements
Rank 1
 answered on 05 Nov 2009
2 answers
82 views
Hi,
     Please let me know how I can get the count on the column using

GridClientSelectColumn

 

 when the user selects the checkbox on a row.( the grid is multirow grid i used)

Would be appreciable to know  the answer for this.

Thanks in advance,
SR

Subbarao
Top achievements
Rank 1
 answered on 05 Nov 2009
7 answers
271 views
Hello,

I'm trying out the Style Builder with a skin we created in May.  I've uploaded the zip with the path setup as illustrated, css file in the root with the images in a folder.  To test it out I started with a single grid css file named "Grid.Default.css" that we edited in May and the related images in a directory named "Grid".  In the colorize tab I get a message that says "Image not available. sorry"  In the Fine-tune tab I see the grid but its completely void of any images except the pencil and trash can icons. 

It looks like there is a problem with any images loaded through the CSS.  The pencil and trashcan images named "delete.gif" and "edit.gif" are not referenced in any of the CSS files therefore must be be called elsewhere.  I've checked the path in the CSS file and it's correct: "Grid\sprite.gif"

The skin was created with Q12009.  Any idea why the images aren't showing up?

Bob
Robert
Top achievements
Rank 1
 answered on 05 Nov 2009
1 answer
87 views
Hello!

I am getting very confused so I am hoping someone can point me in the right direction.
I want to be able to have complete control over the style of my website in my Theme, so when a theme is changed everything will change.

The Skin for all my telerik controls is Default at the moment, so I thinking I just need to change all the default css values and put the css files in my theme folder? I don't think I actually need to update the skin its self?
If I do this will it work? 
I have read about creating custom skins but I don't want custom skins as such, I just want to edit the css's.

I'm sorry if I'm completely missing the point here I'm just confused.

Bex

Svetlina Anati
Telerik team
 answered on 05 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?