Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
150 views
Hi,

I opened Radwindow from Parent Window.

Radwindow opening fine. After close Radwindow, i have to call javascript function in parent window. for that i used below code:

codebehind in Radwindow :
--------------------------------
public void btnAddtoCaseSheet_Click()
{
 Response.Write("<script language='javascript'>GetRadWindow().BrowserWindow.RefreshCaseHistory();</script>");
or
   ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "refreshParent();", true);
}
Javascript in Radwindow:
-------------------------------

         <asp:Button ID="btnAddtoCaseSheet" runat="server" Text="Add to CaseSheet" 
             OnClientClick="Close()" onclick="btnAddtoCaseSheet_Click"/>
    
     <script language ="javascript" type ="text/javascript" >
     
      function GetRadWindow() {
          var oWindow = null;
          if (window.radWindow)
              oWindow = window.RadWindow; //Will work in Moz in all cases, including clasic dialog      
          else if (window.frameElement.radWindow)
              oWindow = window.frameElement.radWindow; //IE (and Moz as well)      
          return oWindow;
      }
      function refreshParent() {
// caseHistory() function is ParentWindow Javascript function
          GetRadWindow().BrowserWindow.CaseHistory();  
      }

      function Close() {

          GetRadWindow().Close();
      
      }          
</script> 




 but i am getting below error. 

"Microsoft JScript runtime error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method"

i am searching to resolve this error for the last 3 weeks. but, i didn't get... pls give reply ASAP.

Thanks and Regards,
Srikanth.
Georgi Tunev
Telerik team
 answered on 01 Oct 2010
2 answers
219 views
hi!

i am using an iframe in my main page. inside the iframe i loaded a grid.aspx page and opens a radwindow on grid's click..
is there any way to close the radwindow from the main page?

thanks in advance.
geetha.
geetha priya
Top achievements
Rank 1
 answered on 01 Oct 2010
2 answers
107 views
Team

I'm binding dynamically generated DataTable as a Datasource to RadGrid.
Am getting the result as below...

School Name 2007 2007 2008 2008 2009 2009
  Payroll Payroll Tax Payroll Payroll Tax Payroll Payroll Tax
Allen 989 3424 23423 535 5565 43534
Akron 95456 23423 23423 456545 34534 3423
Alphretta I 45454 2342 2332 23423 34534 2324

my requirement is I want to make the 2007 Payroll, 2008 Payroll and 2009 Payroll columns are Link (Not all the Columns)
By click that I want to open an another Page....
How can I achieve this..am not using GridboundColumn in aspx page..
I want to achieve this thru aspx.cs (codebehind).

Pls. help me out.

Thanks.

Shinu
Top achievements
Rank 2
 answered on 01 Oct 2010
6 answers
150 views
Dear Telerik Community,

Is there for the radinputmanager an property where i can ask if validations are failed? Can this property also be obtained via javascript? I have searched for many places but i am not able to find an answer on it :)

Kind regards,
Michiel Peeters
Michiel Peeters
Top achievements
Rank 1
 answered on 01 Oct 2010
7 answers
344 views
Hi,

I am trying to create custom skin from office2007 as base skin, I need to change the default blue color to gray for RadMenu control though its always showing in blue theme and not changing to gray color as shown in attached image.

Thanks
Nitin
Dimo
Telerik team
 answered on 01 Oct 2010
1 answer
126 views
hi,

the sticky semi-transparent modal popup which covers the screen, it covers only half of screen!!

if I scroll down, I will get the remaining website content not covered by this modal semi transparent cover, so what is the problem, and how do I solve it?
Dimo
Telerik team
 answered on 01 Oct 2010
3 answers
198 views
when we use radcaptcha with url rewrite, for example (http://www.myplace.co.nz/listing/PRF121003 and click send txt)
the captcha's image cannot be shown
at
http://www.myplace.co.nz/listing/Telerik.Web.UI.WebResource.axd?type=rca&guid=ce76609d-af74-46c1-9ff6-fee46e65aa19

instead, it should be at 
http://www.myplace.co.nz/Telerik.Web.UI.WebResource.axd?type=rca&guid=ce76609d-af74-46c1-9ff6-fee46e65aa19

but when i generate generate new image cup of time, it eventually showed up

any suggestions or solutions?
Lini
Telerik team
 answered on 01 Oct 2010
1 answer
78 views
Hi
   I am facing a problem which I can recreate on your site. Can you please go to 
http://demos.telerik.com/aspnet-ajax/grid/examples/styles/righttoleft/defaultcs.aspx

1) Change the page size to 50, on reload notice that the space between the navigation buttons and the page numbers is same as it was before , Where it should be reduced like it works in Left to right version.

2) Now change page size to 3 and see how it overflows the page numbers.


any CSS /JS patch to fix the issue would be highly appreciated, I am currently using  2010.2.826.35 version.

Best Regards
Rizwan Bashir
Dimo
Telerik team
 answered on 01 Oct 2010
5 answers
213 views
I have the following permissions set in a table in a database.

1. Create files
2. Delete files
3. Create folders
4. Delete folders
5. Full

I know you can set the permissions for create and delete for folders and files (using code below), but I can't see how to separate them - i.e. enabled only file creation, and not folder creation?

RadFileExplorer1.Configuration.ViewPaths = paths;
RadFileExplorer1.Configuration.UploadPaths = paths;
RadFileExplorer1.Configuration.DeletePaths = paths;

Do I have to extend the FileSystemContentProvider?  If so, is there some code to help me along my way?  I have looked at http://www.telerik.com/help/aspnet-ajax/radfileexplorer-custom-filebrowsercontentprovider.html but that doesn't really clear things up for me.

Thanks,
Mark
Fiko
Telerik team
 answered on 01 Oct 2010
1 answer
95 views
Hello,

I'm trying to integrate the RADToolTipManager control in a WebPart using SharePoint 2010 and have it communicate with a WCF service also hosted in the same SharePoint application. I can't seem to find any other example of this being done anywhere on the internet, is it possible?

If so can you please provide me with sample code?
Svetlina Anati
Telerik team
 answered on 01 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?