Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
68 views
Hii,
              I am using telerik(new version) controls in my website. but i found one problem in Rad Grid .
            Problem: when i open my website in Internet Explorer (8,9)  the rad grid can not  be closed   when i click on close button .rad grid hang the complete browser. at that time i m not able to do anything on form.

if u guys have any idea about my problem so plz let me know how can i reslove that problem.

Thanks
alankar
Top achievements
Rank 1
 asked on 15 Jun 2012
1 answer
242 views
Hello there,
I am opening a RadWindow from a parent page. I've started filling the form in the Radwindow. After finishing certain process, I am reloading the parent page and in the same time, I would like to continue filling the form in the RadWindow without closing it.

I am facing some problem here, it is actually reloading the parent page. But at the same time, it is closing the RadWindow. I've tried many possible solutions and I failed. Need your help on this one...

Here is the sample code I am using to refresh the parent page...

This is from aspx (RadWindow) page...

<telerik:radcodeblock id="RadCodeBlock1" runat="server">
        <script type="text/javascript">
            function CloseAndRebind(args) {
                GetRadWindow().BrowserWindow.refreshGrid(args);
                //GetRadWindow().close();
            }
 
            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 CancelEdit() {
                GetRadWindow().close();
            }
 
            function TestScript() {
                CloseAndRebind();
            }
    
    </script>
 
</telerik:radcodeblock>
     
This is from Parent Page (aspx)

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
 
        function refreshGrid(arg) {
            if (!arg) {
                $find("<%= headerRadAjax.ClientID %>").ajaxRequest("Rebind");
            }
            else {
                $find("<%= headerRadAjax.ClientID %>").ajaxRequest("RebindAndNavigate");
            }
        }
    </script>
</telerik:RadCodeBlock>

and the last bit from code behind of parent page

protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
    //HeaderControl.ThisisFromRAD();
    txtText.Text = "Updated";
}


I've placed some text box control to test the same. It is updating the value in the text box. but at the same time, it is closing the RadWindow. But I don't want the Radwindow to be closed. 

Appreciate your support on this. thanks 
Nanda
Top achievements
Rank 1
 answered on 15 Jun 2012
1 answer
193 views
I have 3 rad text boxes a,b and c.
How can I get a+b (concatenate strings) when I focus on c.
Thanks...
Shinu
Top achievements
Rank 2
 answered on 15 Jun 2012
1 answer
156 views
How to set css to remove underline in a gridhyperlinkcolumn
Princy
Top achievements
Rank 2
 answered on 15 Jun 2012
1 answer
89 views
How to set radtooltip for raddatepicker?
Princy
Top achievements
Rank 2
 answered on 15 Jun 2012
3 answers
1.0K+ views
Recently I discovered an issue with browsing one of my sites on the iPad. Specifically, the radWindow control. So I decided to share how exactly to test on the iPad when you don't have an iPad.
  1. First you'll need to download the Safari Browser. http://www.apple.com/safari/
  2. Install Safari
  3. Open Safari
  4. Use Ctrl+, to open the preferences window
  5. Goto Extensions and disable any Flash extensions
  6. Now go to the Advanced tab
  7. Select checkbox to Enable "Show Develop menu in menu bar"
  8. Close the preferences
  9. In the upper right of Safari, click the icon that looks like a document, it will open a dropdown
  10. Select "Develop" > "User Agent" > "Safari iOS 3.2.2 - iPad"
  11. The page you are visiting will refredh and now you will be emulating an iPad
  12. Now you can use the developer tools for Safari (Much like FireBug) to inspect elements and test your site as if you were using an iPad.
  13. Happy debugging!
Suella
Top achievements
Rank 1
 answered on 15 Jun 2012
1 answer
127 views
I checked out the examples, and every time i see the examples where you can put an image on a node they're not databound examples.

Hi there, this is my first time playing with Telerik controls, just bought an expensive all inclusive package.. now i need to show my employer what i can do...

What i'm in the process of building is a tree of report links

Ie:
Reports
-Sales
--Sales Report 1
--Sales Report 2
-Accounting
--Acc Report 1
--Acc Report 2

now i want to build the tree from a table in my DB, and that's working fine when i bind... but
i'd like the final nodes (ie: Sales Report1, or Acc Report 1) to be shown with icons infront of them, and have a dynamic link built to each of the report nodes.

my code on page load -
SqlDataAdapter adapter = new SqlDataAdapter("SELECT * From Reports", ConfigurationManager.ConnectionStrings["MainConnStr"].ConnectionString);
        DataSet links = new DataSet();
        adapter.Fill(links);
        RadTreeView1.DataTextField = "Description";
        RadTreeView1.DataFieldID = "ID";
        RadTreeView1.DataFieldParentID = "ParentID";
        RadTreeView1.DataNavigateUrlField = "ReportLink";
        RadTreeView1.DataSource = links;
        RadTreeView1.DataBind();
        RadTreeView1.ExpandAllNodes();

this works great... loads the nodes, but now i want to start modifying the way each node looks, for example, the "Report" parent node i'd like to have no icons, then the nodes: "Sales" and "Accounting" to have for example a folder icon and the final nodes such as "Sales Report 1" or "Acc Report 1" to have different icons...

Can i achieve this with the above databinding? or do i have to Add items to my Treeview as i parse through my Dataset?

Also,
The links to each of the report nodes i want the "ReportLink" value thats assigned to "DataNavigateUrlField" to be dynamically different based on other tables i have in my DB....
here is an example of a report link: "http://mysite.com/report1.aspx?Param1=value1&Param2=value2"
and another may be "http://mysite.com/reportAccReport.aspx?Param1=value1&Param2=value2&Param3=value3"

where i'd like to build logic to fill in the "valueX" parameters.

Any suggestions/help would be much appreciated
visionXpert
Top achievements
Rank 1
 answered on 14 Jun 2012
4 answers
155 views
After I changed to the customized skin, the color of the DatetimePicker changed.  How can I change it back?  I need it to be the sunset style.
Please refer to the screen print.
Allen
Top achievements
Rank 1
 answered on 14 Jun 2012
1 answer
158 views
Hy

I am experiencing a strang problem.
I switched with my Radgrid from version 2011.2.915.35 to the current version. However, altough all is working fine using the old library (hierarchyloadMode set to client) it does not work with the current version 2012.2.607.35. Using the new library, if I click on the icon for expanding the table, it causes a postback with reloads the site including the table in the original (not expanded) style

Do I have to set some new attributes? (I already tried with allowclientexpand=true)

regards
Richard
Top achievements
Rank 1
 answered on 14 Jun 2012
1 answer
152 views
Hi,

RadTreeList SelectedItems retun null when i expand the item, select some of the childs, collaps this item and submit the form. Is there some solution for this?

--
Best regards, Denis.
Richard
Top achievements
Rank 1
 answered on 14 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?