Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
102 views
rotating saving and downloading an image using http://demos.telerik.com/aspnet-ajax/imageeditor/examples/default/defaultcs.aspx strips most (if not all) exif data from the image.

How does the image editor handle exif data?
Niko
Telerik team
 answered on 15 Jun 2012
0 answers
65 views
How to access radgrid in the nestedviewtemplate through client method? I need to binddata from webservice.
Jinlei
Top achievements
Rank 1
 asked on 15 Jun 2012
1 answer
93 views
Hello Telerik,
is there a possibility to select an uploaded file after async upload?
I've tried it on OnClientFolderChange but the event fired too early.

function OnClientFolderChange(sender, args) {
            var oUpload = $find("<%= FileExplorer1.AsyncUpload.ClientID %>");
            if (oUpload.getUploadedFiles().length > 0) {
                var ex = GetFileExplorer();
                selectSpecificFile(ex, oUpload.getUploadedFiles());
            }
        }
 
        function selectSpecificFile(explorer, items) {
            var tree = explorer.get_tree();
            if (tree != null) {
                var nodes = tree.get_selectedNodes();
                if (nodes != null && nodes.length > 0) {
                    if (nodes[0]._children != null) {
                        for (var i = 0; i < items.length; i++) {
                            for (var x = 0; x < nodes[0].get_allNodes().length; x++) {
                                var currentNode = nodes[0].get_allNodes()[x];
                                if (currentNode.get_text() == items[i]) {
                                    currentNode.select();
                                }
                            }
                        }
                    }
                }
            }
        }

										
Dobromir
Telerik team
 answered on 15 Jun 2012
0 answers
62 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
230 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
180 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
139 views
How to set css to remove underline in a gridhyperlinkcolumn
Princy
Top achievements
Rank 2
 answered on 15 Jun 2012
1 answer
78 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
111 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?