Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
133 views

Hi,
I have created lots of custom web part using Telerik controls in MOSS 2007 with telerik.web.UI.dll version 2009.3.1208.20 and system.web.extension dll version 1.0.61025.0.My company has purchased Telerik license for dll version  2009.3.1208.20.

                   My problem is that one of our clients wants to deploy Bamboo web parts and our custom web parts in same site. The bamboo web parts are using following version of Telerik dll.

2008.3.1125.20

2010.1.415.35 

2009.3.1103.20 

2009.1.402.20

3.5.0.0 (system.web.extension)

If our client will deploy bamboo web parts in the same site where we deployed our custom web parts with Telerik dll version 2009.3.1208.20, so is there will be any impact on our web parts? If yes, Please provide any solution for that ASAP because it’s very urgent for our client.

waiting for your reply at earliest
Thanks,
Divya

 

 

 

Peter
Telerik team
 answered on 02 Aug 2011
4 answers
66 views
Hello again..can someone show me an example to add a callendar popup to my FilterItem inside my RadGrid like we can see on:

http://demos.telerik.com/aspnet-ajax/salesdashboard/   

on the orders tab?
Ricardo
Top achievements
Rank 1
 answered on 02 Aug 2011
4 answers
269 views
I am trying to set a default insert value.  I have read the forums on how to do this from code-behind, and I have that working.  However I am very curious if there is a way to do this using the documented DefaultInsertValue property.  Whenever I try it, a javascript error is generated:

<

 

telerik:GridDateTimeColumn DataField="InspectionDate" DataType="System.DateTime" DefaultInsertValue='<% = Now().ToString() %>'

FilterControlAltText="Filter colInspectionDate column" HeaderText="Date"

UniqueName="colInspectionDate">

</telerik:GridDateTimeColumn>


I have also tried '<% = Now() %>'.

I get the following error:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: The default insert value for column colInspectionDate cannot be converted to type System.DateTime

I am using Q2 2011.  Is this a bug?  Is DefaultInsertValue supposed to work?  Is there a formating option I have to use on the date?  I have been unable to find anyone who has a working example other than the code-behind solution.

Thanks.
Chuck
Top achievements
Rank 1
 answered on 02 Aug 2011
2 answers
94 views
Hello Telerik Team,

I have a requirement where I need to open bunch of( number varies based on items availability) same radwindows as modal windows where user inputs the data on each of the windows and close it to get to the next window, I need to refresh the parent page once the user is done inputting data on all the modal windows, I have a javascript function the needs to be called upon clientclose(which is going to be same for all the modal windows) where I check the number of windows active, if the active count is zero that's when I refresh the parent page, it looks like the javascript function is not attached to each instance of the modal window, but it is attached to the first instance that I see on the screen. here is my code, please let me know why the event is not attached to each of the modal windows.

Thanks in advance,
SC.

function OnClientclose(sender, eventArgs) {
  
            var manager = GetRadWindowManager();
            var windows = manager.get_windows();
             if(windows.length==0)
              {
                     //refresh parent page
               }
                
}
  
  
  
-----------------------------------------------------------------
  
//from my code behind
  
string[] strInputIDs = args1[1].Split(',');
  
for (int i = 0; i < strInputIDs.Length; i++)
  
{
  
RadWindow window = new RadWindow();
  
window.ID = "RadWindow" + i;
  
window.NavigateUrl = "Popup.aspx?ID=" + Convert.ToInt32(strInputIDs[i]) + "&Result=S";
  
window.VisibleOnPageLoad = true;
  
window.Modal = true;
  
window.Width = 550;
  
window.Height = 300;
  
window.OnClientClose = "OnClientclose";
  
RadWindowManager1.Windows.Add(window);
  
}
Srujana
Top achievements
Rank 1
 answered on 02 Aug 2011
2 answers
136 views
Hi,

The drop down of the combo is hidden behind the menu.

Can I bring it to the front?
STEVEN
Top achievements
Rank 1
 answered on 02 Aug 2011
1 answer
113 views
I would like to have a two radupload controls and having one uploads thumbnail and other one large image.
Is it possible and how?

P.S> i would like it upload both images into the same folder e.g. Images and then just update the paths in the database.

Thanks
Jayesh Goyani
Top achievements
Rank 2
 answered on 02 Aug 2011
1 answer
57 views
Hai,

I have created a scheduler and Grid in which the grid drop is enabled.
When the Item is created on the drop of the grid the Appointments are not possible to "Resize or Repostion by Dragging".

Only these actions are permitted only if I do a page refresh or the postback.

What could be the reason.

Any help.


Vinu
Plamen
Telerik team
 answered on 02 Aug 2011
1 answer
155 views
Hello everyone!

I pasted in the Radeditor content a <span> that contains a table and script code, I need select the Table in the design mode and press key "supr" to delete this <span> and its content.

I tried with this code that I found in the forums of this page, but it has a different behaviors in all browsers. 

<span contenteditable="false" unselectable="on" style="-moz-user-select: none;-webkit-user-select: none;
;"
>
   <script type="text/javascript">
        function example(){
        }
    </script>
<table>
    <tbody>
        <tr>
            <td>test</td>
        </tr>
    </tbody>
</table>
</span>

  • Internet explorer: works very fine, the <span> with its content is deleted.
  • Chrome: with this code I can't do anymore in the content of the Radeditor.
  • Firefox: Only selects the table, but I can't delete the table with the key "supr".

I hope you can help me with this.

Best Regards!
Rumen
Telerik team
 answered on 02 Aug 2011
3 answers
204 views
Hi
I'm using a RadTimePicker in an edit form of the grid. I just want to hide the control from server side and show/hide the control from client side.
client side show/ hide is working with following code.

function checkboxClick(chkBox, timePicker) {
 var chkBox1 = document.getElementById(chkBox);
 var timePicker1= $find(timePicker);
 if (chkBox1 .checked) {
  timePicker1.set_visible(true);
 }
 else {
  timePicker1.set_visible(false);
 }
}

I can hide the RadTimePicker from server side usnig the following code but I can't show/hide the control from above javascript code.
timePicker.Style.Add("visibility", "hidden");

Please help!!

Thanks!

 

Maria Ilieva
Telerik team
 answered on 02 Aug 2011
5 answers
4.7K+ views
Hii

We are using RAD Grid, RAD Treeview, RAD Dock and bunch of other controls on a page. Based on node clicked on the treeview, the result in the grid changes. The entire page was working fine in .Net 3.5 perfectly fine. But when we migrated the application to .Net 4.0, the page started shouting. 
Initially it gave JS errors as follow: 

  • Error: ASP.NET Ajax client-side framework failed to load.
  • Error: 'Sys' is undefined
  • Error: 'Telerik' is undefined

And even page was not rendered correctly. It was completely messed up.
After this we added

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

entry in web.config file under <handlers> section. After adding it, above errors are gone. 
But now it is throwing following JS error when I click on the treenode. 

Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

Debugging shows following error which we caught in Application_Error : 
A potentially dangerous Request.Form value was detected from the client (ctl00$maincontent$dockSearchCriteria$C$SearchAttributeRules1$hidRetVal="<Groups>
<Group>
...").
A potentially dangerous Request.Form value was detected from the client (ctl00$maincontent$dockSearchCriteria$C$SearchAttributeRules1$hidRetVal="<Groups>
<Group>
...").
A potentially dangerous Request.Form value was detected from the client (ctl00$maincontent$dockSearchCriteria$C$SearchAttributeRules1$hidRetVal="<Groups>
<Group>
...").
A potentially dangerous Request.Form value was detected from the client (ctl00$maincontent$dockSearchCriteria$C$SearchAttributeRules1$hidRetVal="<Groups>
<Group>
...").

A potentially dangerous Request.Form value was detected from the client (ctl00$maincontent$dockSearchCriteria$C$SearchAttributeRules1$hidRetVal="<Groups>
<Group>
...").
<Group>
...").
<Group>
...").
<Group>
...").
<Group>
...").
<Group>...").

I am not able to understand why this error is coming and how to get rid of it..
Any help appreciated.
Slav
Telerik team
 answered on 02 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?