Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
128 views
How can I set target folder for AsyncUpload when it is in a GridTeplateColumn in EditItemTemplate of a RadGrid?

Thank You,
Bryan
Princy
Top achievements
Rank 2
 answered on 21 Jan 2013
11 answers
509 views
Hi,

I have RadGrid and Edit Mode is popup. In Edit Popup, I have a button. This button call the RadWindow dialog.

My problem is that my dialog is only showing under RadGrid Edit Popup eventhough I set the Modal = "true" in RadWindow.

Is there a way to set the z-order?

I know that 

EditMode

="EditForms" is working but I have 100 of pages are using EditMode="PopUp".

 

 

 

 

 



Thanks,
Alex
Shinu
Top achievements
Rank 2
 answered on 21 Jan 2013
4 answers
146 views
Hello,

I have a Grid that uses a template column with an AsyncUpload control in edit Item Template.  On update of row I need to get the original value of the cell (fileName) before update to delete file then complete update event.  What would be the best approach?

Thank you,
Bryan
Shinu
Top achievements
Rank 2
 answered on 21 Jan 2013
3 answers
156 views
how to determine the id parent of adding in TreeList?
Princy
Top achievements
Rank 2
 answered on 21 Jan 2013
3 answers
149 views
how to campare datetime in radgrid itemdatabound ?
Yadi
Top achievements
Rank 1
 answered on 21 Jan 2013
6 answers
159 views
I have code that shows a Modified label when there have been changes to the editor and it works great, except when the editor is in full-screen mode and then the label cannot be seen.

I'd like to add the update panel (with the modified label) to the status bar - the area (div class="reModule" span) that contains the text "Words: 0   Characters: 0".

I've tried moving the update panel with the following code, but it doesn't work even though it finds the controls.  In IE, the update panel no longer is visible and in Chrome, it apparently has no effect.

var reModuleDivs = document.getElementsByClassName("reModule");
var reModuleDiv = reModuleDivs[0];
var notesEditorUpdatePanel = document.getElementById("<%= notesEditorUpdatePanel.ClientID %>");
reModuleDiv.appendChild(notesEditorUpdatePanel);

Is there any simpler method to go about adding an update panel / label to the bar that contains the status text?
Chuck
Top achievements
Rank 1
 answered on 20 Jan 2013
10 answers
237 views
I keep getting http://demos.telerik.com/ErrorPageResources/error.aspx?aspxerrorpath=/aspnet-ajax/default.aspx
whenever I click on any link within Telerik.com (or from anywhere) referring to ASP... live demos.

Am I missing something?

eg from http://www.telerik.com/support/demos/developer-tools-demos.aspx click on Launch ASP.NET AJAX Demos and I get error page.
Tom
Top achievements
Rank 1
 answered on 20 Jan 2013
1 answer
185 views
Aspx page(Test.aspx)


 <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true">
    </telerik:RadScriptManager>

<telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" runat="server" Width="250" DropDownHeight="150"
        DropDownWidth="250">
                <WebServiceSettings Method="GetCompanyNames" Path="Test.aspx" />
    </telerik:RadAutoCompleteBox>



Test.cs

 [System.Web.Services.WebMethod()]
        [System.Web.Script.Services.ScriptMethod()]
        public static AutoCompleteBoxData GetCompanyNames(object context)
        {


 string searchString = ((Dictionary<string, object>)context)["Text"].ToString();
            //DataTable data = GetChildNodes(searchString);
            DataTable data = new DataTable();

SqlConnection conn = new SqlConnection(connectionstring);
            string sql = "SELECT ID,NAME  FROM T_Patient WHERE NAME LIKE '" + searchString + "%'";
            SqlDataAdapter da = new SqlDataAdapter(sql, conn);
            da.Fill(data);

            List<AutoCompleteBoxItemData> result = new List<AutoCompleteBoxItemData>();

            foreach (DataRow row in data.Rows)
            {
                AutoCompleteBoxItemData childNode = new AutoCompleteBoxItemData();
                childNode.Text = row["NAME"].ToString();
                childNode.Value = row["ID"].ToString();
                result.Add(childNode);
            }

            AutoCompleteBoxData res = new AutoCompleteBoxData();
            res.Items = result.ToArray();

            return res;
}


Some Error is occured when public static AutoCompleteBoxData GetCompanyNames(object context) replace to public AutoCompleteBoxData GetCompanyNames(object context) [remove static keywords]

i am not use public web method or any other idea use only public method /public static method.

THE SERVER METHOD  'GetCompanyNames
'  FAILED.

please give me solution.

thank you.

Jayesh Goyani
Top achievements
Rank 2
 answered on 20 Jan 2013
10 answers
401 views
Hello -

I'm using the the RadAsyncUpload and i've wired up a client side handler to the OnClientFileSelected event. My goal is to alert the user that their file is not a valid extension and then  reset the control by removing the file that they attempted to upload. According to your documentation here I should be able to make use of the remove_fileSelected method to remove the file that the user attempted to upload and thus hopefully reset the control so the user can do a new upload.

The problem I have is I can't find any documentation on your site for what the signature is for remove_fileSelected or how it should be used - what parameter needs to be passed to it. Here is my handler code, please help, and if possible please expound your documentation so this is more clear.

Thanks.

this.checkFileExtension = function (radUpload, args) {
    if (!radUpload.isExtensionValid(args.get_fileName())) {
        alert('Please upload images with .jpg, .gif, .png, .bmp, or .tif extensions.');
        radUpload.remove_fileSelected();
    }
}



Lobna
Top achievements
Rank 1
 answered on 19 Jan 2013
1 answer
116 views
I have a RadGrid that pulls data based on FROM and TO dates. The dates are NOT in a column but set as Parameters for the SQL stored procedure that selects the data. How can I use RadDatePicker to update the parameters for the Grid?

Thanks!
Dave
Top achievements
Rank 1
 answered on 18 Jan 2013
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?