Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
142 views
Hi !

A little question to the timeline view.

We use the TimelineView with resources.

The Resources are grouped by a group and a name

eg.:
GROUP 1 :: Markus
GROUP 2 :: Dave

Currently we display this resources as a table in each resource cell

<ResourceHeaderTemplate>

                    <asp:Panel ID="ResourceWrapper" runat="server" CssClass="ResCustomClass">

                        <asp:Table ID="ResourceTable" runat="server" Width="200px">

                            <asp:TableRow Width="200px">

                                <asp:TableCell Width="95px" HorizontalAlign="Right">

                                    <asp:Label ID="LGroup" Font-Bold="true" runat="server" Text='<%# Eval("resgroup") %>'></asp:Label>

                                </asp:TableCell>

                                <asp:TableCell HorizontalAlign="Center" Width="10px">

                                    <asp:Label ID="LSpacer" runat="server" Text="|"></asp:Label>

                                </asp:TableCell>

                                <asp:TableCell  Width="95px" HorizontalAlign="Right">

                                    <asp:Label ID="SpeakerImage" runat="server" Text='<%# Eval("Text") %>'></asp:Label>

                                </asp:TableCell>

                            </asp:TableRow>

                        </asp:Table>

                       

                    </asp:Panel>

                </ResourceHeaderTemplate>



Now, we need to add a sort function to this groups/names

My Question:
Is there a chance to display a table completely around the resources, where i can add a sorting ?
or
Can i access the cell (in timeline view) over all resources (it is always emtpy and act like a spacer), and add there
commandlinks, buttons or anything ?

thanks for your help

with best regards
Markus
Veronica
Telerik team
 answered on 04 Jul 2011
1 answer
84 views

Hi,

I am using this link for your example for chart to embed RadChart instances in template column of RadGrid.
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandchart/chartingrid/defaultvb.aspx?product=chart

               I am using VS 2010 and ADO.net entity data model and EntityDatasource instead of sqldatasource, the issue is chart is not being rendered for all roows except the last one.. I am getting an error at the statement  chart.DataSource = SqlDataSource2.Select(DataSourceSelectArguments.Empty) 'Value of type system.web.ui.DataSourceSelectArguments cannot be converted to integer.

What i use is  chart.DataSource = EntitylDataSource2.Select(DataSourceSelectArguments.Empty).
 The chart for the  last row of the grid  is displayed only, can you please advise?  Please see the result attached when I use

 

EntityDataSource2.WhereParameters(0).DefaultValue = item.GetDataKeyValue("Entity1").ToString()
            chart.DataSourceID = "EntityDataSource2"
            Commented out'chart.DataSource = EntityDataSource2.Select(DataSourceSelectArguments.Empty)

Here is my definition of EntityDataSource2

 

<asp:EntityDataSource ID="EntityDataSource2" runat="server" 
            ConnectionString="name=TEntities" DefaultContainerName="TEntities"
            EnableFlattening="False" EntitySetName="Entities" 
                        
            Select="it.[Entity1], it.[Type], it.[Entity_Desc], it.[Active], it.[Cnt], it.[Dataupdtthru]" 
            EntityTypeFilter="" OrderBy="it.[Entity1]"     Where="it.[Entity1] = @Entity">
          
<WhereParameters>
    <asp:Parameter  DbType="string"   Name="Entity"  />
 </WhereParameters>
  </asp:EntityDataSource>




 

 

Yavor
Telerik team
 answered on 04 Jul 2011
4 answers
96 views
Hi There!

I just need some help here. What I am trying to do is quite simple.
I'm using RadTreeView and context menus. When I click to "Add" a new node, I want to be able to enable edit mode on the node instantly to rename it.
Is it possible ?

Appreciate any help from you guys!

Regards,

Marcio Nascimento
Veronica
Telerik team
 answered on 04 Jul 2011
1 answer
73 views
Hi,
I am exporting radgrid to excel file. I want excel file with background like in attached image. How to do it? Thanks.

Shinu
Top achievements
Rank 2
 answered on 04 Jul 2011
3 answers
94 views
Hello,

How can I make RadEditor strip out any non-HTML5 compliant markup? For example width and height attributes on table rows and cells. Or cellpadding and cellspacing attributes on tables.

I want to use RadEditor to produce HTML that is fully HTML5 compatible.

thanks,
Jon
Rumen
Telerik team
 answered on 04 Jul 2011
1 answer
67 views
Hi
I have multiple rad datagrids on my aspx page inside one rad update panel.
Their ID's differs.
If i trying to click "add new record" button i recieve next error

Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Multiple controls with the same ID 'AutoGeneratedDeleteButton' were found. FindControl requires that controls have unique IDs.

 [http://localhost:3397/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3auk-UA%3a3f7f575c-f971-4b26-8881-745c41ac5a2c%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3auk-UA%3aef677e96-bcf7-465a-bd82-787c87ad65a2%3a16e4e7cd%3af7645509%3a22a6274a%3aed16cbdc%3a24ee1bba%3af46195d3%3a1e771326%3aaa288e2d%3a7165f74%3a58366029:15]

I need to solve this issue asap.
ty
Shinu
Top achievements
Rank 2
 answered on 04 Jul 2011
4 answers
190 views

Hi all,

hop any one can help me,

i am using the following coding to upload files to the sqlserver dirctly no need to save, but i get error on line 

foreach (UploadedFile file in UFile.UploadedFiles)

 {
byte[] imgbytes = new byte

[file.InputStream.Length]; // I get error on this line, can any one help me, it dos not accept this line. file.InputStream.Read(imgbytes, 0, file.InputStream.Length);

 

 try

 

 {

 

DB.Image("insert into projectsimages (image,id) values(@picture,'1')"

, imgbytes);

 

 

 

}

 

 

 

 

mohamed
Top achievements
Rank 1
 answered on 04 Jul 2011
2 answers
329 views
Most convoluted configuration I've ever seen, and never got it to do even the simplest of column sizing dynamically.  What a piece of crap.
Pete
Top achievements
Rank 1
 answered on 03 Jul 2011
5 answers
319 views

I have noticed that my Event Viewer is being filled up with the following warnings, complaining about NullReferenceException. Can someone tell me what could be causing this, and what can I do to fix them?

Thanks,

Event Type: Warning  
Event Source:   ASP.NET 2.0.50727.0  
Event Category: Web Event   
Event ID:   1309  
Date:       3/23/2010  
Time:       9:45:05 AM  
User:       N/A  
Computer:   WEBPC  
Description:  
Event code: 3005   
Event message: An unhandled exception has occurred.   
Event time: 3/23/2010 9:45:05 AM   
Event time (UTC): 3/23/2010 2:45:05 PM   
Event ID: ac0df0b9829a4b0796ff2693875efb70   
Event sequence: 261544   
Event occurrence: 1492   
Event detail code: 0   
   
Application information:   
    Application domain: /LM/W3SVC/2/Root-1-129137505216865130   
    Trust level: Full   
    Application Virtual Path: /   
    Application Path: C:\Inetpub\wwwroot\WEBPC\WebSite\   
    Machine name: WEBPC   
   
Process information:   
    Process ID: 7480   
    Process name: w3wp.exe   
    Account name: NT AUTHORITY\NETWORK SERVICE   
   
Exception information:   
    Exception type: NullReferenceException   
    Exception message: Object reference not set to an instance of an object.   
   
Request information:   
    Request URL: http://www.thegreensheet.com/Telerik.Web.UI.WebResource.axd?imgid=2b66498078e24ceab80cfe456aff0d17&type=rbi   
    Request path: /Telerik.Web.UI.WebResource.axd   
    User host address: 928.54.83.66   
    User: default\Anonymous   
    Is authenticated: False   
    Authentication Type:    
    Thread account name: NT AUTHORITY\NETWORK SERVICE   
   
Thread information:   
    Thread ID: 7   
    Thread account name: NT AUTHORITY\NETWORK SERVICE   
    Is impersonating: False   
    Stack trace:    at Telerik.Web.UI.RadBinaryImageHandler.ProcessRequestInternal()  
   at Telerik.Web.UI.HandlerRouter.ProcessHandler(String handlerKey, HttpContext context)  
   at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context)  
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

Chanan Zass
Top achievements
Rank 1
 answered on 03 Jul 2011
5 answers
273 views
hi
i saw in some sites when i click on links or button on the page , all of the page makes gray style and disabled(freezed) while doing action until loading completed.
how we can make asp.net page like that ?
tnx
Suresh Mariaraj
Top achievements
Rank 1
 answered on 03 Jul 2011
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?