Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
345 views
I'm attempting to bind a generic list to a RadGrid.  This works:
            List<int> originList = new List<int>(); 
 
            originList.Add(24); 
            originList.Add(328); 
 
            myDataContext dc = new myDataContext(); 
            List<Leg_ListResult> legList = (from l in dc.Leg_List() 
//                                               where originList.Contains((int)l.OriginWaypointID) 
                                                select l).ToList(); 
            gridLegs.DataSource = legList; 

But the following does not.  The only difference is the addition of 'where' in the LINQ code.  When I run in the debugger, the legList contains the expected number of records in both cases, but no records are displayed in the grid in when I bind after specifying the where condition.  Am I missing something?

            List<int> originList = new List<int>(); 
 
            originList.Add(24); 
            originList.Add(328); 
 
            myDataContext dc = new myDataContext(); 
            List<Leg_ListResult> legList = (from l in dc.Leg_List() 
                                               where originList.Contains((int)l.OriginWaypointID) 
                                                select l).ToList(); 
            gridLegs.DataSource = legList; 
Richard Branham
Top achievements
Rank 1
 answered on 17 Mar 2010
3 answers
151 views
2009.3.1503.35
I have a main page with AjaxMgr, and that loads the user control.

<div id="divPlaceHolder" runat="server" > 
      <asp:PlaceHolder ID="myPlaceHolder" runat="server"></asp:PlaceHolder> 
</div> 

I do not have Ajax set up from myPlaceHolder to myPlaceHolder, or divPlaceHolder to divPlaceHolder.
I do have a menu on the main page to updates divPlaceHolder so it shows the User Control.

<telerik:AjaxSetting AjaxControlID="mnuFunction"
    <UpdatedControls> 
          <telerik:AjaxUpdatedControl ControlID="divPlaceHolder" /> 
    </UpdatedControls> 
</telerik:AjaxSetting>   

However in the user control (I do not have AjaxMgrProxy set up), if there is autopostback in its child control, it'll do an Ajax update.

Is that expected?   I would have assumed that I have to use AjaxMgrProxy to set up Ajax within User Control but it seems to be doing that by its own?
Iana Tsolova
Telerik team
 answered on 17 Mar 2010
1 answer
41 views
Hi , i wanna clarify how can i gets respective drilldown charts being binded with two datasources. For e.g there is datasource A & B having two columns each in there selection. Now i want to get graphs based on these datasources.

I hope my question is clear.....
Vladimir Milev
Telerik team
 answered on 17 Mar 2010
8 answers
212 views
Hello - I am using the Q1 2008 release.

I need to create a custom skin for a scheduler.

I want to copy and existing skin into a newly named folder and start editing the images and css.

I have looked for help online but cant get any of the tutorials to work so please dont point me in the direction of them.

The problem is that, even if I copy a skin from the folder that comes with the install, it dowesn't work when I set the skin of the control to it.

How do I actually register a skin?

It's really weired as I have imported the css as usual but it just doesn't seem to be working.

Would be useful if I could get this fixed ASAP

Thanks
Peter
Telerik team
 answered on 17 Mar 2010
1 answer
111 views
Hi,

    Here is what I am trying to do.
I am using Radgrid to display items. The RadGrid uses Web User Control to edit/display grid items.
the radGrid uses Master page.

I can not use java script inside user control( which uses AJAX).

What should I do to use Java script inside Ajaxified user control.
I would appreciate an example.

Thanks,
Rita


Iana Tsolova
Telerik team
 answered on 17 Mar 2010
10 answers
515 views
Hi,

I have been evaluating Infragistics and Telerik for my company and have to make a recommendation soon. So far Telerik RadScheduler+other controls offers more features so i want the company to purchase the ASP.Net Ajax Suite.

While prototyping, i have come across this problem, so am in need of assistance....

See the problem

http://www.asingh.com/telerik/problem.png

The issue is that due to our application layout, we have a content div which has the style attribute overflow:auto.
The RadScheduler is to be hosted in this area.

So it will be like this

header div
  begin content div [ overfloat:auto]
     RadScheduler
  end content div
footer div

As the above picture shows, the RadScheduler table breaks as it is styled with position:relative. The control header scrolls out of the view but the body is always fixed in position and also floats out of the parent div.

This problem occurs in IE6 and 7. I have tried overriding the styles in page with some sucess but the whole point of using the controls is to be able to drop them in our pages and start coding. I dont think the other developer will like the idea of having to start hacking with the styles to ensure that control layout does not break in IE6 and 7.

So can someone please point me to a solution to this problem.

Thanks in advance

Amar

Peter
Telerik team
 answered on 17 Mar 2010
1 answer
56 views
Dear Sir,

Tooltip content is not visibile in mozilla browser, but only title is visible. How to rectify this problem?

By
S Suriya Narayanan
Svetlina Anati
Telerik team
 answered on 17 Mar 2010
2 answers
111 views

Hi, I'm new using Telerik controls (mainly RadGrid), so I need a doc that describes properties, methods and events to keep go on.

I'd appreciate any help.

Thanks in advance.

visioneret
Top achievements
Rank 1
 answered on 17 Mar 2010
1 answer
76 views
I've got a column in my table to specify a sort order on the data...can I apply that somehow in a GroupByExpression?

The Group Header should be the Name Column from the table...

doable? :)
Iana Tsolova
Telerik team
 answered on 17 Mar 2010
2 answers
162 views
I'm using the Efficient Paging method shown in your demos, and it works great. I'm able to page through thousands of records far faster than before.

I'm trying to make it even faster by adding efficient NestedViewTemplate expansion.  What I'd like to do (but not sure how) is ONLY select the data that I use in my GridView on my initial call, and then when I expand a NestedViewTemplate, I'd like to make another DB call to get the details... what is the best way to do this?
Iana Tsolova
Telerik team
 answered on 17 Mar 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?