Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
109 views
I'm trying to implement the following example

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/raduploadinajaxifiedgrid/defaultcs.aspx?product=upload

But i need to handle the uploading of a file, specify a filename for each one, insert the filename into a database, and not use a binaryimagecolumn, just a normal image with a mysql datasource.

Can anyone point me in a direction of any examples doing this ?

Many thanks, Alan





Genady Sergeev
Telerik team
 answered on 12 May 2010
1 answer
150 views
Looking for an idea about how to structure this. We have three related tables, Department, agency and program. Program relates to agency via FK, and Agency relates to Department via FK. We'd like to have a single Radgrid for editing programs, and it's easy to show the lookup for programs, but we'd like to show the department name, the agency name, as well as an additional field from the agency table. Here's the structure (simplified)

Department
===========
DepartmentID
DepartmentName

Agency
===========
AgencyID
DepartmentID
AgencyName
AgencyType

Program
===========
ProgramID
ProgramName
[other columns....]
AgencyID








We could create a view that contains all columns, but then I lose the automated editing functionality. Is there a way to create this grid, include the department name and the additional field from the agency table automatically, and still retain the Radgrid editing functionality?

Derek
Top achievements
Rank 1
 answered on 12 May 2010
1 answer
126 views
Hello all ,

Is there any possibilities to perform client side sort in GridView ?? if so will be great if am given some code excerpt .. ..
Thanks
-Prince


Schlurk
Top achievements
Rank 2
 answered on 12 May 2010
2 answers
93 views
How do i use ajax to show a textbox on a grid's user control's edit form?
As an example I am using the sample http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx
as a user control on my page. The edit of the page uses the EmployeeDetailsCS.ascx with 2 controls added: 1 checkbox (chkReferral) and 1 textbox (txtReferralOther). When i check the chkReferral i want to show the txtReferral.  Somewhere down the line my onclick event for my checkbox is not getting processed and not able to trigger the visibility of the textbox on the client side. I am getting an Object not found error. Anyone have any example code of how this can be accomplished?
Thanks
Chris
Chris Jeunelot
Top achievements
Rank 1
 answered on 12 May 2010
4 answers
245 views
Hi telerik,

I have the same issue as this post:


However, I have a different version - 209.2.826.20.  How do I get my styles to apply to the multi line textbox?


thanks in advance, 
Ronnie Robertson
Ronnie Robertson
Top achievements
Rank 1
 answered on 12 May 2010
3 answers
126 views
What's the best way to modify the way that custom resources are displayed?

One my of my developers has created a customprovider for the scheduler, where we have Team Members and Contacts. Team Members will probably be 10-15, but contacts could run into the hundreds, so it's clearly not practical to display checkboxes for every one.

Is it possible to modify the display to use multiselect listboxes instead of checkboxes? What would be even better is to extend it so that I have some kind of add/remove listbox pairs. We've thought about building our own, but it's convenient and practical to have it embedded in the scheduler.

TIA for any suggestions.
Peter
Telerik team
 answered on 12 May 2010
7 answers
234 views
Hi,

I am using RadControl 2010 Q1, .net 3.5.

My scenario is as follows:

I use a RadPanelBar as the navigator and dynamically load user control accordingly to its item value.
In the user control, I have a GridView to manage the list of items, and a DetailView for reading the detail of item and for editing, inserting. This DetailView load the item when I click the item in the GridView. Everything works fine without ajax.

When I use ajax to load user control, and ajax to load the item detail to the DetailView by clicking the item in the GridView, All skin of  controls in the DetailView fails to load correctly, in all ReadOnly, Edit and Insert modes. I use SkinID defined in the .skin file for all rad controls. This only happens with IE, but works perfectly with FireFox.

Even when I try to load user control without ajax, and only use ajax to load the item from GridView to the DetailView, the problem still exists. This proves that no problem is related to dynamic load of user control, right? I think the problem is at when the DetailView loads all controls inside it, but fails to load skin.

Please give some advice.
Thanks in advance.
Dimo
Telerik team
 answered on 12 May 2010
4 answers
111 views
Team,

Screetshot is Attached, I just want to remove the underline from first and second column. Also I want to change the font color to black.
Pls. help me.

Thanks
Rajesh n.
raaj
Top achievements
Rank 1
 answered on 12 May 2010
3 answers
114 views
Dear Telerik Team,

I want to Thank for your support and Quick responses, I had a problem when working with RadScheduler. I am using RadScheduler with different resources but I am unable to set css for timeslots start time and end time etc. on per resource basis.
Is there any way to customize individual resource? I hope you understand the problem.

Thanks and Regards
--------------------------
Pradeep
Peter
Telerik team
 answered on 12 May 2010
3 answers
104 views
I have a bit of a puzzle.  I'm using RadWindow to open a window to another site for the purposes of tracking a package (UPS or FEDEX).  As a result, the VisibleOnPageLoad parameter is set to false initially, because the URL must be built dynamically based upon the package the user chooses to track (if it CAN be tracked).

Everything works fine up until the point that I actually set TrackWindow.VisibleOnPageLoad = True, at which point  the window opens, the URL begins to load, and then the entire PAGE goes to the URL.  This, obviously, is not the way it was meant to work, lol.  I'm thinking it is just something simple I am overlooking.  Hopefully someone can take a look and tell me what's going on, and how to fix it.

Here's the relevant .aspx code;
<!-- Windows Begin --> 
<telerik:RadWindowManager ID="TrackWindowManager" runat="server" ShowContentDuringLoad="False">  
    <Windows> 
        <telerik:RadWindow runat="server" ID="TrackWindow" VisibleOnPageLoad="false" Title="Help - Datagrid"   
            Width="500" Height="500"></telerik:RadWindow> 
    </Windows> 
</telerik:RadWindowManager> 
<!-- Windows End --> 
And here's the vb.net code behind:
    Private Sub rgPoOrders_SelectedIndexChanged(ByVal sender As ObjectByVal e As System.EventArgs) Handles rgPoOrders.SelectedIndexChanged  
 
        Dim TrackNum As String 
        Dim TrackURL As String 
        Dim TrackPack As New PackageTrack  
        Dim selectedItem As GridDataItem = rgPoOrders.SelectedItems(0)  
 
        'Get tracking number and pass to function  
        TrackNum = selectedItem(rgPoOrders.MasterTableView.Columns(2)).Text  
 
        'Get URL to track package  
        TrackURL = TrackPack.Track(TrackNum)  
        TrackWindow.NavigateUrl = TrackURL  
        TrackWindow.VisibleOnPageLoad = True 
 
        'New Code for popup, if Rad Window doesn't work;  
        'Change return value of PackageTrack to JavaCommand instead of TrackURL  
        'Response.Write(JavaCommand)  
 
    End Sub 

Note: I'd prefer NOT to add the window dynamically, unless I absolutely have to.
Georgi Tunev
Telerik team
 answered on 12 May 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?