Telerik Forums
UI for ASP.NET AJAX Forum
20 answers
3.0K+ views
Hi,

Trying to add a RadAjaxManager to my page.  I'm getting the "Error Creating Control ... Could not load file or assembly 'Telerik ... " error.

I'm using VS 2005 Orcas and the v3.5 .NET framework ... I'm also using Vista x64 Enterprise ... and I also have the Microsoft AJAX Dev Toolkit installed.  I've also installed the SP1 for Prometheus 

BTW ... the RadAjaxmanager for RAD 2007 Q1 SP1 works fine ...

Cheers,

Gp.
Matthew
Top achievements
Rank 1
 answered on 21 Nov 2012
1 answer
115 views
Hi,
here you can see my code:

<telerik:RadChart ID="RadChart12" runat="server" Width="600px" Height="400px" DataSourceID="SqlDataSource12" AutoLayout="true" SeriesOrientation="Vertical" Style="float: left;">
            
            <ChartTitle TextBlock-Text="Slot History" TextBlock-Appearance-TextProperties-Color="#333333" Appearance-FillStyle-MainColor="Transparent"></ChartTitle>
             <Appearance Border-Color="Transparent" >
                    <FillStyle   MainColor="Transparent" />               
               </Appearance>
            <Legend Visible="false">
                <Appearance ItemTextAppearance-TextProperties-Color="White" FillStyle-MainColor="Transparent" GroupNameFormat="#VALUE">
                </Appearance>
            </Legend>
            <Series>
            
                <telerik:ChartSeries Name="Total Trains" DataYColumn="count" >
                    <Appearance>
                       
                        <LabelAppearance Visible="FALSE"></LabelAppearance>
                        <FillStyle MainColor="#fbb03b" SecondColor="#fbb03b" >
                        </FillStyle>
                    </Appearance>
                    
                </telerik:ChartSeries>
                <telerik:ChartSeries Name="Cumulative Percentage" YAxisType="Secondary" DataYColumn="Pct_To_Total" DataLabelsColumn="labelPerc" Type="Spline">
                     <Appearance>
                     
                     <TextAppearance  TextProperties-Color="Black"></TextAppearance>
                        
                        <FillStyle  MainColor="Red">
                        </FillStyle>
                    </Appearance>
                </telerik:ChartSeries>
            </Series>
            <PlotArea Appearance-FillStyle-MainColor="Transparent" Appearance-FillStyle-SecondColor="Transparent" >
                        <YAxis2 Appearance-TextAppearance-TextProperties-Color="#333333" Appearance-MajorGridLines-Visible="false" Appearance-MinorGridLines-Visible="false"></YAxis2>
                        <YAxis Appearance-TextAppearance-TextProperties-Color="#333333" Appearance-MajorGridLines-Visible="false" Appearance-MinorGridLines-Visible="false"></YAxis>
                        <XAxis  Appearance-LabelAppearance-RotationAngle="45"  Appearance-TextAppearance-TextProperties-Color="#333333" DataLabelsColumn="slotcount" Appearance-MajorGridLines-Visible="false" Appearance-MinorGridLines-Visible="false">
                        </XAxis>
            </PlotArea>
        </telerik:RadChart>

here the sql result:

slotcount count pc_to_total labelPerc
n°1 Slot 24 6.25 6.25%
n°2 Slot 3 7.81 7.81%
n°10 Slot 1 10.42 10.42%
n°11 Slot 1 13.28 13.28%
n°333 Slot 1 100 100.00%

and here the result:



My problem is that the line does not have to go down and it happens when i use type=Spline to have the curved line...
Can You please help me to understand if this is my fault or if this is telerik issue and can i do anything to show a correct curved line?

Petar Kirov
Telerik team
 answered on 21 Nov 2012
1 answer
680 views
I have a     function pageLoad()     in an asp.net master page and have
added a     function pageLoad()    to the content page.

However it seems that the pageLoad() in the master page is no longer being called!?

Any suggestions much appreciated.

Thanks

Mike


Daniel
Telerik team
 answered on 21 Nov 2012
6 answers
322 views
When my grid is displayed, my headers are aligned to the left. However, when the grid is exported, the headers are all aligned to the center. Is there a way to keep the alignment to the left when exporting to PDF?

Thanks,
Adam
Daniel
Telerik team
 answered on 21 Nov 2012
6 answers
436 views
I am trying to remove ScriptManager and add RadScriptManager to my page from SharePoint Web Part. For some reason my code does not work. I still getting "Only one instance of a ScriptManager can be added to the page." What is right approach to replace ScriptManager?

 

ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);
if (scriptManager != null)
   {
       Page.Form.Controls.Remove(scriptManager);
   }
 
RadScriptManager radScriptManager = new RadScriptManager();
this.Page.Form.Controls.AddAt(0, radScriptManager);
Oleg
Top achievements
Rank 1
 answered on 21 Nov 2012
1 answer
52 views
Hi

I have a slider defined as follows:

<telerik:RadSlider ID="RadSlider1" runat="server" Value="0" MinimumValue="0" MaximumValue="50" AutoPostBack="true" Height="60px" Width="500px" ItemType="Item" ShowDecreaseHandle="false" ShowIncreaseHandle="false" TrackPosition="TopLeft" Skin="Simple">

</telerik:RadSlider>

I populate a range of values in code behind as follows:

Dim
myExcess As List(Of contractors.excess) = contractors.excess.GetByContractorID(Session("ContractorID"))

 

 For Each Excess In myExcess

 RadSlider1.Items.Add(New RadSliderItem(Excess.ExcessAmount, Excess.ExcessPercent))

 Next

for this example, values witten are
Text = 100, value =0.1
Text = 200, value =0.2
etc. etc

The slider renders as expected, however, after clicking or dragging, the order of the items changes!
It was initially: 100,200,300,400,500

After a drag this may become 100,200,400,500,300

There is no other clientside or server side code so I am puzzled!

Same problem with IE and Chrome

Can anyone help please?

 




 

 

 

 

Slav
Telerik team
 answered on 21 Nov 2012
1 answer
106 views
Has anyone come across an issue where the Skpe icon is displaying in one of the rows in radgrid? ...Skype is installed in the machine but its not running .... how do i remove the skpe icon in the radgrid?



Daniel
Telerik team
 answered on 21 Nov 2012
4 answers
142 views
Dear Community,

how can I change the cursor on a RadWindow?

Thanks a lot,

Christian
Nencho
Telerik team
 answered on 21 Nov 2012
10 answers
220 views
Hi,

My application is using different User Controls containing one RadGrid in each (some controls have hierarchy, some not). The Grids have ajaxified features such as "Add" command, "Refresh" command, export, row context menu etc. These User Controls work as expected either placed directly on a page, loaded dynamically in a native asp PlaceHolder or loaded dynamically loaded into a RadTabStrip. Im trying now to make them work into RadDocks. When trying to replicate the demos on your site (especially this one: My Portal), I can make it work but partially, since im running into different problems. The draggable docks containing user control are there but problems start when starting to use the grids inside.

#1 - if I use the Triggers/AsyncPostBackTrigger (like in the demo and below) to ajaxify the AddDock button, the grids for newly added docks seem to be unable to register their javascript code (getting errors like: ReferenceError: RowContextMenu is not defined). Grid's "OnItemCommand" is fired but code fails at "ScriptManager.RegisterStartupScript(...)" I also sometimes experience weird behaviors from the docks (cant close/drag/collapse them). If I refresh the page, docks loaded from save state are not experiencing such issue and seems to work as expected (except for issue #2 mentioned below)

<Triggers>
       <asp:AsyncPostBackTrigger ControlID="ButtonAddDock" EventName="Click"></asp:AsyncPostBackTrigger>
</Triggers>

I also tried to replace the triggers for AjaxSettings, and getting similar results:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" ClientEvents-OnRequestStart="mngRequestStarted">
                        <AjaxSettings>
                               <telerik:AjaxSetting AjaxControlID="ButtonAddDock">
                                    <UpdatedControls>
                                        <telerik:AjaxUpdatedControl ControlID="RadDockLayout1" />
                                    </UpdatedControls>
                                </telerik:AjaxSetting>
                                <telerik:AjaxSetting AjaxControlID="ButtonAddDock2">
                                    <UpdatedControls>
                                        <telerik:AjaxUpdatedControl ControlID="RadDockLayout1" />
                                    </UpdatedControls>
                                </telerik:AjaxSetting>
                                <telerik:AjaxSetting AjaxControlID="ButtonAddDock3">
                                    <UpdatedControls>
                                        <telerik:AjaxUpdatedControl ControlID="RadDockLayout1" />
                                    </UpdatedControls>
                                </telerik:AjaxSetting>
                        </AjaxSettings>
</telerik:RadAjaxManager>

#2- If I comment out the trigger tags (or RadAjaxManager's AjaxSettings) , I now have postbacks on dock creation, but at least the issue #1 seem to go away. However, when I use a dock that contains a control that contains a hierarchy grid (2 levels), I always get (also experienced in issue #1 scenario) the following error when one or more rows are expanded and I want to do an ajax call from the grid (or another one), for instance grid's "Refresh". This time, the "OnItemCommand" event is not fired at all.

From FF:
Timestamp: 11/8/2012 11:12:10 AM
Error: Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Specified argument was out of the range of valid values.
Parameter name: ItemHierarchicalIndex
Source File: http://localhost:2917/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.60501.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a5c09f731-4796-4c62-944b-da90522e2541%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2012.2.607.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a767fb6c3-728b-40e9-af4d-abc498bcae6e%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3af46195d3%3a854aa0a7%3a874f8ea2%3a5a6d9d23%3a19620875%3a39040b5c%3af85f9819%3a58366029%3a2003d0b8%3ae330518b%3a1e771326%3ac8618e41%3ae4f8f289%3ac172ae1e%3a9cdfc6e7%3a490a9d4e%3abd8f85e4
Line: 9

Before I submit a sample or the rest of my code, Im asking if there is already a similar sample available for reference. I think must specify that my grid user controls use a RadAjaxManagerProxy.

TIA
Martin Roussel
Top achievements
Rank 1
 answered on 21 Nov 2012
1 answer
209 views
Below a FileExplorer I have a button that deletes selected files.
After deletion I would like to refresh the FileExplorer.
If I do this:

var oExplorer = $find('<%= fe.ClientID %>');
oExplorer.refresh();

only the file list gets refreshed. The TreeView is not refreshed.

How do I refresh both the list and the treeview?
Vessy
Telerik team
 answered on 21 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?