Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
112 views
I use filter option in async upload.I let the users to select pdf files only.
in developer machine(my ones) it works fine it dont let the users to select other type files.
but in another machine i put it into iis. Then this control let the user to select all type of files.
if we select other type that file processing becomes red.....

Solution for this ............??
Peter Filipov
Telerik team
 answered on 22 Nov 2011
2 answers
104 views
I want to build a RadTreeView out of a sqldatabase with TreeView Path data
Here is some of the sql data

Standard Service Catalogues
Standard Service Catalogues,IT Outsourcing Catalogue
Standard Service Catalogues,IT Outsourcing Catalogue,Architecture Services
Standard Service Catalogues,IT Outsourcing Catalogue,Architecture Services,Technical Architecture Services
Standard Service Catalogues,IT Outsourcing Catalogue,Architecture Services,Technical Architecture Services,In
Standard Service Catalogues,IT Outsourcing Catalogue,Architecture Services,Technical Architecture Services,Out
Standard Service Catalogues,IT Outsourcing Catalogue,Business Application Services
Standard Service Catalogues,IT Outsourcing Catalogue,Business Application Services,Ad-hoc Application Services
Standard Service Catalogues,IT Outsourcing Catalogue,Business Application Services,Business Intelligence Services
Standard Service Catalogues,IT Outsourcing Catalogue,Business Application Services,Database Services
Standard Service Catalogues,IT Outsourcing Catalogue,Business Application Services,Middleware Services
Standard Service Catalogues,IT Outsourcing Catalogue,Business Application Services,SharePoint Application Services
Standard Service Catalogues,IT Outsourcing Catalogue,Business Application Services,SAP Basis Services
Plamen
Telerik team
 answered on 22 Nov 2011
18 answers
1.1K+ views
I've databound a Radcombobox to a dataset.Table.

When I select an item from the combobox, I get the SelectedItem but how do I get the object as a dataRow?
Is there a way? I know you can do this with RadGrid but if there is a way to do the same with radcombobox let me know.

Thanks
Velmurugan
Top achievements
Rank 1
 answered on 22 Nov 2011
9 answers
512 views
http://www.telerik.com/community/forums/aspnet-ajax/async-upload/solution-upload-fails-or-login-prompt-appears-when-using-forms-windows-authentication.aspx

Any solution yet for the above?  

In Jquery UI Dialog, when I included the script and clicked the select button, nothing happened.
If I move the code to main page then it works.

It works for a server that's configured for Kerberos but with on a different server with NTLM it fails with pop up prompt.
Peter Filipov
Telerik team
 answered on 22 Nov 2011
1 answer
65 views
I am using the EditItemTemplate in the RadGrid to input the values .When ever the user submitting the vales i am validating the values inserted by the user and if it is invalid i am showing the Edit template using the "e.canceled =true" command inside the InsertCommand Eventhandler of the Grid.My issue is when i am showing the EditTemplate after the values are validated all the previously entered values in the Edit Template are getting lost . how can we hold all the entered values in the EditTemplate Form?
Jayesh Goyani
Top achievements
Rank 2
 answered on 22 Nov 2011
1 answer
164 views
Hi. I have problem about showing google map in XmlHttpPanel. I have google map control from http://th.googlemaps.subgurim.net/

This is .aspx page
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<%@ Register assembly="GMaps" namespace="Subgurim.Controles" tagprefix="cc1" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadXmlHttpPanel ID="RadXmlHttpPanel1" runat="server"
        EnableClientScriptEvaluation="True"
        onservicerequest="RadXmlHttpPanel1_ServiceRequest">
        <asp:Label ID="Label1" runat="server"></asp:Label>
        <cc1:GMap ID="GMap1" runat="server" Width="920px" Height="452px" />
    </telerik:RadXmlHttpPanel>
    <br />
<br />
<br />
<input type="button" value="Set Value" onclick="SetValue();return false;" />
<script type="text/javascript">
    function SetValue() {
        var panel = $find("<%=RadXmlHttpPanel1.ClientID %>");
        panel.set_value("555");
    }
</script>
    <%--<cc1:GMap ID="GMap1" runat="server" Width="920px" Height="452px" />--%>
</asp:Content>

This is aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Subgurim.Controles;
 
public partial class Test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    
 
    }
    protected void RadXmlHttpPanel1_ServiceRequest(object sender, Telerik.Web.UI.RadXmlHttpPanelEventArgs e)
    {
        Label1.Text = "Label updated by XmlHttpPanel callback at: " + DateTime.Now.ToString();
        //access the callback value from the client on the server using the e.Value property
        Label1.Text += "<br/> The returned value fron the client's set_value() function is: <strong>" + e.Value + "</strong>";
 
        GMap1.Version = "2";
        GMap1.enableDragging = false;
        GMap1.enableGoogleBar = false;
        GMap1.Language = "th";
        GMap1.setCenter(new GLatLng(13.7729, 100.4857), 14);
        GMap1.enableHookMouseWheelToZoom = false;
        //GMap1.mapType = GMapType.GTypes.Hybrid;
        GMap1.addControl(new GControl(GControl.preBuilt.MapTypeControl));
        GMap1.enableRotation = true;
        GMap1.enableDragging = true;
    }
}

Problem: At first page load google map can be display but when i click button google map can't display (background is gray colour). You can see image in attach file.


Please advise.
Thank you for your help.
Nott
Pero
Telerik team
 answered on 22 Nov 2011
1 answer
270 views
Hi all,

What is the best way to rebind a RadTreeView after inserting a new node in the database that is feeding the RadTreeView?

Thanks,
Bruno
Shinu
Top achievements
Rank 2
 answered on 22 Nov 2011
2 answers
156 views
Hello Dear Sir or Madam

In http://portal.recris.info/ , Ι have implemented 4 tabs, using RadTabStrip and RadMultipage.
In each Tab I'm loading different pages from the same site.
As you can see, at the First Tab, called Accidents, I have put a RadGrid with several data.
At the last column of the Grid, I have an asp link which is directing to a google map I have implemented in the same site.
This link is passing to the map, the ID of the record.

I have also this whole map, with all the markers, to the 3rd Tab (called: Accident's map)
Currently the link at the Grid, is opening the map to a new window (target="_blank")
Is it possible to open the link in the 3rd tab instead? (using some kind of code)

I want to use this implementation to another site also.

Thank you in advance for your reply.

Velissarios
vhousos@gmail.com
Velissarios
Top achievements
Rank 1
 answered on 22 Nov 2011
1 answer
466 views
Hi there

I have a radEditor that is set to render its content area as an IFrame, using a custom version of EditorContentArea.css. The problem is, that the styles in the custom stylesheet file do not seem to be utilised by the elements in the rendered IFrame.

The IFrame is rendered as this in Firefox:

<iframe frameborder="0" style="width: 100%; height: 100%; margin: 0px; padding: 0px;" id="[myeditorclientid]_contentIframe">

<html>
<head></head>
<body>
<div class="editorcontentdiv2">
<p class="editorcontent2">My dog has no nose</p>
</div>
</body>
</html>

</iframe>


The markup for the editor is provided with the correct location for the css file in question:

<CssFiles>
<trk:EditorCssFile Value="~/App_Themes/PD_RadSkins/PD_RadSkin_1/EditorContentArea.PD_RadSkin_1.css" />
</CssFiles>

and I also use a preload routine to add all the required CSS files for the page in Page_Load, something like this:

AddCss("~/App_Themes/PD_RadSkins/PD_RadSkin_1/EditorContentArea.PD_RadSkin_1.css", Me.Page)

This method works for all the other CSS files, but when it comes to the IFrame content, the custom styles in my EditorContentArea css file are not applied. Sure enough, when I examine the <p> or <div> elements of the generated markup, e.g. in Firebug, it reports that: "The element has no style rule".

What could be causing this situation? Please don't advise using DIV mode, I need the IFrame functionality.

Thanks for any advice you can provide.



 




Rumen
Telerik team
 answered on 22 Nov 2011
1 answer
51 views
Hello,

Is drag and drop from RadPanelBar supported yet?  I would like to drag and drop from RabPanelBar to RadGrid.

Thanks,

Dan
Kate
Telerik team
 answered on 22 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?