Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
338 views
Im using a Radgrid. I have a Textbox that is disabled, but I would like to enable it when any row is selected in the Radgrid.
Elton
Top achievements
Rank 1
 answered on 04 Jun 2013
6 answers
338 views
Just to give a heads up.  If I insert a Return into a RadEditor, Google Chrome seems to interpret the Return as $0 or $0$0.$0$0$0$0For example, I entered:$0$0aaa$0$0bbb$0$0ccc$0$0ddd$0$0$0$0$0Then disabled the RadEditor, and it showed this:$0$0$0aaa$0bbb$0$0ccc$0$0ddd$0$0$0$0$0$0IE and FF work fine.$0$0
guest
Top achievements
Rank 1
 answered on 04 Jun 2013
2 answers
43 views
Hi,
Is it possible to set the UploadedFilesRendering property on the RadAsyncUpload control to diplay the files in a lateral manner, rather than BelowFileInput or AboveFileInput?

Thank you very much,
Randy Sullivan
Randy
Top achievements
Rank 1
 answered on 04 Jun 2013
1 answer
84 views
Can anyone tell me, if it is possible to use RadRotator to open a pdfs in a folder, have them display for a set period of time and then open another one, etc. and constantly rotate through multiple pdfs?     I have a 60inch monitor in our hallway, that our engineering department would like to have rotate multipe pdfs.  each pdf is displaying different information.   I have looked at radrotator some, but did not see anythng to add the item template to rotate.  Please help me.... or point me in another direction.


Thank you


doug
Slav
Telerik team
 answered on 04 Jun 2013
1 answer
999 views
Telerik.Web.UI.WebResource is failing to load when I try and run my web site from my local IIS server. I can run it while debugging. I'm thinking it's an issue in my Web.config but after days of Googling I am out of ideas. 

<?xml version="1.0" encoding="UTF-8"?>
<!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
    \Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
  <connectionStrings>
  
  </connectionStrings>
  <system.web>
    <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
      </assemblies>
    </compilation>
    <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
    <authentication mode="Forms" />
    <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
    <pages theme="Theme" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
      <controls>
        <add assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagPrefix="telerik" />
      </controls>
    </pages>
    <httpHandlers>
      <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.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" />
    </httpHandlers>
    <httpModules>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
      <add name="TelerikWebResource" type="Telerik.Web.UI.WebResource" />
    </httpModules>
  </system.web>
  <appSettings>
    <add key="DefaultActiveDirectoryServer" value="dc=foo,dc=com" />
  </appSettings>
 
  <!--
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
      <add name="TelerikWebResource" type="Telerik.Web.UI.WebResource" />
    </modules>
    <handlers>
      <add name="ChartHandler" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" />
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
     
  </handlers>
    <httpErrors errorMode="Detailed"/>
    <asp scriptErrorSentToBrowser="true"/>
  </system.webServer>
</configuration>


Any ideas what I'm missing here?
Slav
Telerik team
 answered on 04 Jun 2013
2 answers
166 views
I am having an issue in clearing the contents of the DateInput box of a RadDateTimePicker via client-side javascript when invalid data has been entered.

In my scenario, I have two radio buttons (asp:RadioButton) that allow a user to select to either perform an action immediately or schedule the action for a future date/time.  The later radio button is coupled with a RadDateTimePicker.  If the user initially enters a date then switches to perform the action immediately, the RadDateTimePicker should be cleared.

If a valid date has been selected or entered, I am able to clear the contents with:

var dtTmPicker = $find("<%= SchedStartTime.ClientID %>");
dtTmPicker.clear();


However, if an invalid value has been entered for the date, the call to .clear() has no effect (because the underlying date value has not been set when the visible value is not valid).

Based on a few scattered forum posts, I have attempted to reset the invalid value, warning icon, and formatting on the field with:

var dtTmPicker = $find("<%= SchedStartTime.ClientID %>");
dtTmPicker.get_dateInput().set_textBoxValue(
"");
dtTmPicker.get_dateInput()._invalid =
false;
dtTmPicker.get_dateInput().updateCssClass();

This clears the text, but the warning icon and formatting remain.

Interestingly, I can set ._invalid=true and call .updateCssClass() to turn the validation icon/formattting on; and again set it to false to clear the validation icon/formatting.  But I can only do this when NO invalid value has been entered in the control.  Once an invalid value has been entered, I can only clear the text but not the icon/formatting.

Is there something else that needs to be done to clear the form and reset the validation?  Any help is greatly appreciated.


William
Top achievements
Rank 1
 answered on 04 Jun 2013
1 answer
102 views
I have a radgrid that I set the datasource to a datatable set from a dataset and bind it.  I manually setup (edit columns) the headers and have hidden some of the columns because I don't want them visible (ID field).  But when I click on the row (For Each item As GridDataItem In dgComp.SelectedItems)

I get the value of the comlumn (item("ID").Text)

But since I manually setup the Grid columns I set this columns visible property to False.  And now all I get in &nbsp as the result instead of the value.  If I set the columns visible property to True then I can get the true value.  I need the data in the grid but I dont want it to be visible how can I do this?  I see no datakeyfield property under edit columns just a DataField??

Thanks
Stefan
Top achievements
Rank 2
 answered on 04 Jun 2013
3 answers
120 views
1 week ago we pushed out a new release and have started seeing the following error a lot. It's been 8 weeks since our previous release and we are thinking an update has something to do with it. Any ideas what might be causing this? For the most part the uploads are successful so we don't know how to reproduce this error manually.
 

This is what we are currently running
Version: 2013.1.417.40

Path: ...\Telerik.Web.UI_2013_1_417_Dev_hotfix\Bin40\Telerik.Web.UI.dll

Runtime Version: v4.0.30319


-----Original Message-----
From: cmis@n3cn.org [mailto:cmis@n3cn.org]
Sent: Monday, May 13, 2013 8:54 AM
To: CMIS Error
Subject: unHandledException in CMIS - Page:/_dialog/UploadPatientAttachment/UploadPatientAttachment.aspx?RadUrid=eefdd2b0-33ab-46e2-9545-f4ed8efcf1c6
 
System.IO.FileNotFoundException: Could not find file 'C:\Applications\cmis.n3cn.org\Production\CaseManagement\App_Data\RadUploadTemp\vcfxlbc4.jsp'.
File name: 'C:\Applications\cmis.n3cn.org\Production\CaseManagement\App_Data\RadUploadTemp\vcfxlbc4.jsp'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.Move(String sourceFileName, String destFileName)
   at NCCCN.CMIS._dialog.UploadPatientAttachment.UploadPatientAttachment.buttonSubmit_Click(Object sender, EventArgs e) in C:\Websites\QA\CMISWeb\_dialog\UploadPatientAttachment\UploadPatientAttachment.aspx.cs:line 79
   at Telerik.Web.UI.RadButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
Time: 5/13/2013 8:54:24 AM
 
Source: mscorlib
Hristo Valyavicharski
Telerik team
 answered on 04 Jun 2013
6 answers
120 views
Hi,

I am using very complicated Ajax in my application. I only use RadAjaxManager and RadAjaxManagerProxy.

I have some asp:Panel that I put Ajax on it and inside it. When I look in the HTML code I get some empty div AjaxPanel (See attached image).

Why this is happening? This is happening when I have a ajaxfied asp:Panel with ascx inside it that has RadAjaxManagerProxy.

Thanks.



msigman
Top achievements
Rank 2
 answered on 04 Jun 2013
11 answers
198 views
I am wanting to know if this is the best solution and if ultimately if it is doable. I am having an issue with how I will be able to inject the wanted data from the radWindow into the editor window at the point of where the cursor is.

I working in the DNN framework and I have a need to create a custom button in the radEditor so that the Content Author can "Insert" a quote that is maintained in a separate DB as a library of sorts.

I have poured over everything and I think I can create the button and utilize the radWindow and in the radWindow, I will have it point to a page that uses a custom module I will be building to pull in the wanted data. I am wanting to mimic the image manager or the hyperlink manager in a way.

1) Choose the quote from a list or grid inside the radWindow
2) inject the value from  one of the fields into the editor.

i.e.     I pull up the radWindow showing the two  options with the 3 fields. ID, Quote, author. I choose option 1
<1> Quote #1 Me
<2> Quote #2 You

my editor would now display the following.
blah blah blah <1> blah blah blah

Thanks for any direction and or tips.

UPDATED:
I have the custom button and radwindow all hooked up. Still trying to figure out how to inject the text that is on the page into the editor. I'll update as I figure it out. But any direction in the mean time would be helpful.
Dobromir
Telerik team
 answered on 04 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?