Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
133 views
Hello
I want to add image in rad editor like Gmail .
in gmail user add image into editor ,editor first of all upload image file in google server then show image to user by tag img when
user click send email ,image in editor embed in email .
how can i do that?
thanks a lot.
Rumen
Telerik team
 answered on 12 Nov 2009
3 answers
437 views
Hello,

I would like to create feeling that grid has always at least 10 rows visible, even if the datasource contains only 3 data rows.
For that i need to able to add few fictional empty rows just to create filling effect.

Please advise how it is possible.

Thanks,
Shimon
Carl
Telerik team
 answered on 12 Nov 2009
0 answers
149 views

Hello, this is my code for bind a dropdowlist in ItemTemplate that has a Bind("field")

it's work fine, but in Edit Mode one time in     
list.DataSource = dsDropDown
give the error:

    {"Object reference not set to an instance of an object."}
    
Then in I'm using a catch for this error, and all is fine.

Do you know a solution for don't use the catch?

  Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated

    If (TypeOf e.Item Is GridDataItem AndAlso e.Item.IsDataBound) Then

      Try
        Dim dsDropDown As New DataSet()
        OleDbCnn = New Data.OleDb.OleDbConnection(Session("CONNECT_DBS"))
        Dim item As GridDataItem = e.Item
        Dim list As DropDownList = item.FindControl("DDL_AREA_GEOGRAFICA_NAME")
        OleDbSql = Area_Geografica_Code()
        Dim OleDbDad As New Data.OleDb.OleDbDataAdapter
        OleDbDad = New Data.OleDb.OleDbDataAdapter(OleDbSql, OleDbCnn)
        OleDbDad.Fill(dsDropDown)
        list.DataSource = dsDropDown
        list.DataTextField = "NAME"
        list.DataValueField = "CD_CODE"
      Catch ex As Exception
        ex.Message.ToString()
      End Try

    End If 

  End Sub

Thanks for any help

rema43001
Top achievements
Rank 1
 asked on 12 Nov 2009
1 answer
223 views

Message from webpage :
Web.config registration missing!
The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > RadEditor > Dialogs > Introduction
-------------------------------------------------------------------------------------------------------------------------------------------
500 - Internal server error.
----------------------------------------------------------------------------------------------------------------------------------------
I got this error at a time of click on Image Manager in IIS 7.

this thing is working fine in IIS 5.

My ASPX Page Code

 

<%

@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

 

<

 

telerik:RadEditor ID="telerik1" runat="server" Width="100%" CssClass="editorcontent" AllowScripts="True" Height="600px" DialogHandlerUrl="" ToolbarMode="Default">

 

 

<ImageManager ViewPaths="~/App_Themes/Default/images" UploadPaths="~/App_Themes/Default/images" DeletePaths="~/App_Themes/Default/images" />

 

 

<DocumentManager ViewPaths="~/App_Themes/Default/images" UploadPaths="~/App_Themes/Default/images" DeletePaths="~/App_Themes/Default/images" />

 

</

 

telerik:RadEditor>

 

 

 


My web.config.

 

<

 

system.web>

 

<

 

pages theme="Default">

 

<

 

controls>

 

<

 

add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

</

 

controls>

 

</

 

pages>

 

<

 

httpModules>

 

<

 

add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

</

 

httpModules>

 

<

 

httpHandlers>

 

<

 

remove verb="*" path="*.asmx"/>

 

<

 

add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

 

<

 

add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

 

<

 

add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>

 

<

 

add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>

 

<

 

add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"/>

 

<

 

add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

 

<

 

add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>

 

<

 

add path="Telerik.Web.UI.DialogHandler.axd" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false"/>

 

</

 

httpHandlers>

 

<

compilation debug="true">

 

<

 

assemblies>

 

<

 

add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

 

<

 

add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

 

<

 

add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

 

<

 

add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

</

 

assemblies>

 

</

 

compilation>

 

</

system.web>

 

<

 

system.webServer>

 

<

 

validation validateIntegratedModeConfiguration="false"/>

 

<

 

modules>

 

<

 

add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule"/>

 

</

 

modules>

 

<

 

handlers>

 

<

 

remove name="WebServiceHandlerFactory-Integrated"/>

 

<

 

add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

<

 

add name="Telerik.Web.UI.DialogHandler" verb="*" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>

 

</

 

handlers>

 

</

 

system.webServer>

 

 

 

Rumen
Telerik team
 answered on 12 Nov 2009
5 answers
344 views
Hi,

Can anyone tell me how can i freeze a column in the grid while horizontal Scrollng. 

In my application i have 4 columns and i need my first column should me always visible (freeze) while am doing horizontal scrolling.

Thanks & Regards,
Sushanth Mathew.



Pavlina
Telerik team
 answered on 12 Nov 2009
2 answers
192 views
Hello people,

First of all, sorry for poor English...

In a page, I have a dropdownlist and a radWindow...

I need to get a reference to this dropdownlist from inside the radwindow...

If the radWindow was a popup, I'd use window.opener.document.getElementById("dropDownListId");

I need something equivalent to "window.opener"...

How could I accomplish this task??

Many Thanks..
Fernando Minosis Gemos
Top achievements
Rank 1
 answered on 12 Nov 2009
2 answers
83 views
Hi!

I use Q3 2009.

When showing a hierachic context menu with more than two levels then all context menus on third level or higher are rendered above the previous level of the context menu. This means all levels except the first is hidden by higher level context menus, making it very hard to use.

Is this by design or a bug? Any solution?

Thanks
/Mats
Mats
Top achievements
Rank 1
 answered on 12 Nov 2009
2 answers
113 views
Hello,

I`m using the RadSheduler control for somekind of resource planning application. The
resources are on the vertical axis and the hours horizontal.
Just as in the webmail demo (calendar.aspx) i have a RadPanelBar that contains checkboxes
that correspond to the resource groups. Now i want to remove the resources when i uncheck
one of the resource groups. What is the best way to achieve this ????

I have attached a screenshot for clarification.

Thanks in advance,

TS

HaiTek
Top achievements
Rank 1
 answered on 12 Nov 2009
1 answer
112 views
Hi
Is it possible to have a layout like below only in day view mode?
Thanks.

                                11/12/2009
                  8:30    9:00    9:30    10:00 ....
--------------------------------------------------------------------
Room1  |   App                             App
--------------------------------------------------------------------
Room2  |                          App
--------------------------------------------------------------------
....
Peter
Telerik team
 answered on 12 Nov 2009
1 answer
95 views
I need a Telerik Guru to help me out. I have successfully deployed the trial for RadEditor to my MOSS 2007 site. The control works brilliantly. My problem comes when I am uploading items to a list rich text box. I would like these uploads to go into the correct attachment/item ID folder within SharePoint. I can hard code the files to go as far as   the attachments folder using the list config file and image or document path. What I need to do is grab this information from SharePoint and give it to RadEditor for an upload location.

Any ideas on how I would code this in the xml config file?

Thanks

Donnie
Stanimir
Telerik team
 answered on 12 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?