Admission:
I'm a brand new user of the product line and decided to start off with Prometheus rather than using the established RAD product line -- that may well have been a mistake.
Setup:
RadGrid in primary ASPX page (UpdateContent.aspx) and is populated using a simple SQLServer 2005 query. The RadGrid Select event calls an ASCX file (ContentEditControl.ascx) which contains a couple of text boxes and a RadEditor. I want to edit the grid row dataitems using the web control.
I understand that the update procedure must be part of UpdateContent.aspx (where the RadGrid resides).
What works:
1. The ContentEditControl textboxes and RadEditor are populated with the correct values.
2. Values can be edited.
3. The Update button triggers properly and can be trapped in UpdateContent.ASPX.RadGrid1_ItemCommand
From there, the next steps are to obtain the new values and update the database.
What I could use some help with:
1. I can not see how to use FindControl to locate the ContentEditControl's textbox and RadEditor controls and text values.
Could you provide a quick VB example?
2. Example content obtained from the RadEditor includes lines like: <h5><p>TextHere</p></h5>
Is there an integrated method to cleaning that up or do I need to devise one?
Thank you.
Hi,
I'm using Prometheus Treeview including the Hotfix dll released yesterday. My code is VB and I'm populating the treeview in the codebehind.
Using an aspx page works just fine. When I move the code to a user control the treeview is empty. No errors, just empty. The user control is loading because I can see treeview in the html sourcecode.
Here are more details if that helps. I'm happy to provide more if needed.
--- aspx codebehind (works) ----
Imports System
Imports System.Data
Imports Telerik.Web.UI
Imports System.Data.SqlClient
Imports System.Configuration
Namespace Telerik.Web.Examples.TreeView.Databinding
Partial Public Class DefaultVB
Inherits System.Web.UI.Page
Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
If Not Page.IsPostBack Then
Dim adapter As New SqlDataAdapter("SELECT * FROM tbl_content", System.Configuration.ConfigurationManager.ConnectionStrings("cnstr").ConnectionString)
Dim links As New DataSet()
adapter.Fill(links)
RadTreeView1.DataTextField = "menuTitle"
RadTreeView1.DataFieldID = "id"
RadTreeView1.DataFieldParentID = "parent"
RadTreeView1.DataSource = links
RadTreeView1.DataBind()
End If
End Sub
End Class
End Namespace
--- user control codebehind (does not work) ----
Imports System
Imports System.Data
Imports Telerik.Web.UI
Imports System.Data.SqlClient
Imports System.Configuration
Partial Public Class webadmin_controls_pages_treeview
Inherits System.Web.UI.UserControl
Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
If Not Page.IsPostBack Then
Dim adapter As New SqlDataAdapter("SELECT * FROM tbl_content", System.Configuration.ConfigurationManager.ConnectionStrings("cnstr").ConnectionString)
Dim links As New DataSet()
adapter.Fill(links)
RadTreeView1.DataTextField = "menuTitle"
RadTreeView1.DataFieldID = "id"
RadTreeView1.DataFieldParentID = "parent"
RadTreeView1.DataSource = links
RadTreeView1.DataBind()
End If
End Sub
End Class
Again, if I need to provide any more code please let me know.
Thanks for any help,
Joe
We are using RadControls for SharePoint 2007 (MOSS) .
In the flash manager/ media manager we are getting server error message while uploading file names with special characters like # % & * : < > ? / { | }
Error displayed in the flash manager/ media manager is as follows :
"Server Error" when uploading image with ~ in file name.
Is there any way to overcome this issue.
Thanks,
Praveen