Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
280 views
Hi all,

I have a bounded RadTreeView and I need to do the following: set the ImageUrl image file depending on the level of the tree 
(an image for the root nodes, a different image for the second level nodes, etc). How can I do that? Do I have to browse all 
tree nodes again after setting it with the data, creating a performance issue?

Thanks,
Bruno
Bruno
Top achievements
Rank 1
 answered on 28 Nov 2011
2 answers
101 views
I have a RadGrid with a detail table which I want to page if there are enough data.  The main table must also allow paging as well.

I saw how detail tables' data are cleared when the main grid is rebound.  That makes sense, so I checked whether we're coming from the detail table before setting the main's data source:
protected void grdGroupings_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
    if (!e.IsFromDetailTable)
    {
        grdGroupings.DataSource = AppealGroupingService.Find(null, grdGroupings.CurrentPageIndex + 1, grdGroupings.PageSize);
    }
}

Unfortunately, when DetailTableDataBind is raised, my current page index is always zero, defined by
grdGroupings.MasterTableView.DetailTables[0].CurrentPageIndex

Even though the DetailTable's pager moves to highlight #2 (or whatever I hit), CurrentPageIndex is always zero, so I request, receive and display the first chunk of information from my service, regardless of what's highlighted in the pager.

What's the right way to have a detail table hang onto its index for paging?

Thanks,

Scott

 

 

golddog
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
68 views
hi
can i using asp.net ajax(radcontrol) in mvc project ?
why mvc control is too less ?? 
Tsvetoslav
Telerik team
 answered on 28 Nov 2011
2 answers
107 views
Hi, 

I have a RadSplitter with two Panes in it, in the left Pane i have a RadPanelBar wich works as a menu for displaying radWindows on the right Pane, the initial behavior of the RadWindows is set to Maximize, at this point everything works as expected, the user navigates with the left side menu and the windows are displayed on the right side of the splitter, but when the left pane is collapsed, so that the user has a much bigger working area for the RadWindow, the window stays the same size and i would like it to resize (maximize) it every time the radsplitter is collapsed and expanded, is there a way to achieve this?
Andres
Top achievements
Rank 1
 answered on 28 Nov 2011
3 answers
71 views
I attach 2 images.
 
I have a grid, with to buttons : Quick add (is the same that add new record) insert new row in grid.
Add Full add (open a modal popup)

Steps:
1- Add new record using inline Add (quick add).
2- Fill some fields.
3- Click again in Quick Add.
And the first row info desapear.

I need between item 2 and 3, add some Confirm Widows such as:
The current row will be delete. Are you sure? with OK and Cancel.
If click on OK --> continue with Insert
if click on cancel --> keep the row and not insert.

Where and How I can do this??

Image 1 --> Items 1 and 2
Imgae 2 --> error, lost the current row!
Iana Tsolova
Telerik team
 answered on 28 Nov 2011
0 answers
45 views
Hi.

I have several pages in our website using html editor, now they want to add tagcloud to the page to show the content from html editor.
My thought is to create a user control use TagStrip with two tabs, one for htmleditor one for tagcloud. When the user click the cloud tab it will show the keyword cloud.
Can anyone give some samples on how to achieve this?

Thanks,.
Harry
Top achievements
Rank 1
 asked on 28 Nov 2011
3 answers
189 views
Hello,

I just discovered that using radgrid with paging turned on and active, my agency's firewall (Check Point Firewall-1 Smart Defense) considers it a sql injection for the request "minValue." 

RadGrid pagesize=20.  If the items return is 20 or less everything runs fine.  If I change the pagesize to 5 and the records return is 20, paging shows and all request is now rejected.

Any insight will be helpful.  Thanks.
Khanh

--------------begin 
 
Number:                              2153036 
 
Date:                                     09June2010 
 
Time:                                     13:51:22 
 
Product:                               SmartDefense 
 
Interface:                            eth0 
 
Origin:                                   nrodo3 
 
Type:                                     Log 
 
Action:                                  Reject 
 
Protocol:                              tcp 
 
Service:                                http (80) 
 
Source:                                 207.67.36.210 
 
Destination:                       nriis3 (198.234.44.227) 
 
Source Port:                       57783 
 
Attack Name:                    SQL Injection 
 
SmartDefense Profile:   Default_Protection 
 
Information:                      reason: WSE0040002 SQL injection detected in request: 'minValue' 
 
                                                 
 
------------end 
 
Khanh
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
68 views
Hi,

I have created a dropdown toolbar, using  a ToolsFile.xml, which is loaded with emoticons. When the page has loaded, the editor looks like Image01. Once I have selected an emoticon, it looks like Image02. How do I get it to go back to what it looked like in Image01, after I have selected the emoticon?

I would really appreciate any help with this.

Thanks in advance,
Pierre
Rumen
Telerik team
 answered on 28 Nov 2011
6 answers
154 views
Hello Telerik team,

I have a weird problem and it became a show stopper for me.
Problem: "Rad combobox options are not moving along with the rad combobox while scrolling"

RadCombobox is in <asp:Content which is in child page. and the <asp:Content is place in a rad splitter.
Below gives  clear idea about  the layout i am using.

Master Page==>Rad Splitter==>RadPane==><asp:Content==>RadComboBox

scrollbar is there for RadPane.
Please provide me a solution asap.

Thanks in Advance.
Pratap.K

Dobromir
Telerik team
 answered on 28 Nov 2011
4 answers
170 views
Hi folks,

Help! Help!
I use sql server as RadScheduler datasource. And I define the ReurrenceRule, the detail definition is provided below .
BUT  my recurrence appointment only shows ONCE (one time only), meaning not recurrence. Please do me a favor. Thank you in advanced.

Here is My data in sql server database.

ID Subject Description Start End RecurrenceRule RecurrenceParentID Reminder Annotations TestResourceId
5 DevMedia conference NULL 2011-11-01 06:30:00.000 2011-11-01 07:30:00.000 DTSTART:20111101T063000Z  DTEND:20111101T073000Z  RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20111120T210000Z;BYDAY=MO,TU,WE,TH,FR;   NULL NULL NULL 3

My scheduler binding is like
<telerik:RadScheduler runat="server" ID="RadScheduler1" Skin="Windows7" Height="551px" DataEndField="End" DataKeyField="Id" 
                    DataSourceID="EntityDataSource1" DataStartField="Start" 
                    DataSubjectField="Subject" 
                    DataRecurrenceField="RecurrenceRule" 
                    DataRecurrenceParentKeyField="RecurrenceParentID">
</telerik:RadScheduler>
                
                <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
                    ConnectionString="name=IAppointmentEntities" 
                    DefaultContainerName="IAppointmentEntities" EnableFlattening="False" 
                    EntitySetName="Appointments">
                </asp:EntityDataSource>
                <asp:EntityDataSource ID="EntityDataSource2" runat="server" 
                    ConnectionString="name=IAppointmentEntities" 
                    DefaultContainerName="IAppointmentEntities" EnableFlattening="False" 
                    EntitySetName="TestResources">
                </asp:EntityDataSource>
Ivana
Telerik team
 answered on 28 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?