Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
233 views
i have a radgrid that needs to show some dynamic values appended to a database value.

in other words the grid will display several columns whereby the display is 30 (15)
where 30 is a value retrieved from the database but (15) is updated on the fly depending on records added to a grid....

how would i achieve this?
Eyup
Telerik team
 answered on 09 Nov 2012
3 answers
485 views
Hi, is there a way to achieve the above? try to get answer but no avail.any advice welcomed. thks!

regards
cwk
cwk
Top achievements
Rank 2
 answered on 09 Nov 2012
4 answers
288 views
HI,
I placed rad window control in asp.net user control page and trying to load a url in that radwindow
As Technically its difficult to have javascript in user control i placed in a JS file and loaded that file with Master Page load event.
But Now my problem I'm unable to find the radwindo and also unable to open the url in the window.
Please help me in this regards. Plz find my code snipplet.
Below is my Button click event code in Asp.Net User Control

protected void lnkGenearateFull_Click(object sender, EventArgs e)
       {
           string url = "~/AppUI/Payments/ReportExport.aspx";
           Page pg = (Page)System.Web.HttpContext.Current.Handler;
           ScriptManager.RegisterStartupScript(pg,typeof(Page), "openWindow", "openWindow('" + url + "','"+ radWindow.ClientID +"');", true);
           ScriptManager.RegisterStartupScript(pg, typeof(Page), "CloseWindow", "CloseWindow();", true);
 
       }
and My below is my JS Code
function openWindow(url, radwinId) {
    alert(url);
    alert(radwinId);
    var window = $find(radwinId);alert(window);
    window.setUrl(url);
    window.show();
}
function CloseWindow() {
    var window = $find('<%= radWindow.ClientID %>');
    if (window != null) {
        window.close();
    }
}

Regards
Phaneendra Varanasi
Phaneendra
Top achievements
Rank 1
 answered on 09 Nov 2012
2 answers
68 views
Hi All,

we are using telerik version 2010.3.1317.35 and it's Scheduler component! The way it's used it's with ajax webservice binding and grouping it by Persons. The users sees a list of Person and can select/unselect the ones he will like to see. As the Scheduler is not able to repaint himself based on the grouped resource what I do is reload the whole component by an Ajax request! 

Everything was working really well as expected until we moved to Azure or IIS8 on Windows8. On both cases the request comes back apparently succesfull (with all the resources beeing pooled from the server through the ScripResource.axd but the component stop to work. Not a single button | event or anything is binded at all. It doesn't throw any javascript error, it's just that nothing is binded and none for the events from the Scheduler are called.

Investigating I saw that doing that: $find('<%=RadScheduler1.ClientID %>'); returns null 

I'm quite sure it has to be related to the config of the server but can't figure out what! We have that application running on two IIS7 working totally fine but it's just when working over the mentioned servers that problems occurs. We are using MVC.net 2 and ASP.NET 3.5.

Any ideas? Apparently the config on the IIS7's are identical :S 

Any help would be much appreciated!

regards and thanks in advance :)
Plamen
Telerik team
 answered on 09 Nov 2012
4 answers
142 views
Hi ,
I've a radgrid with many text data (ex. tommy, motomb). Now I also have fiter option for that grid.
Now in the filter text-box of the grid, if I type "tom" and select the filter as "Contains", the grid give the filter results as "tommy" only. Not both "tommy and "motumb".
Why this un-expected behaviour. Even when I have setup the required correctly??

Please guide.

Thanks

Edit: Corrected the word "mutumb" to "mutomb".
Radoslav
Telerik team
 answered on 09 Nov 2012
2 answers
53 views
I've basically put together a prototype based on your demos and forum entries as a way to re-familiarize myself with Telerik.

I've been looking at your page: http://www.telerik.com/help/aspnet-ajax/upload-manipulating-files.html

I've a RadUpload control on a RadGrid form template.  I have a button that I copied from one of your demos that fires the RadGrid_InsertCommand.   I know how to do a file.SaveAs(path name) and put it into the temp folder of the app.  The problem is that by the time I do a Save As, the original file is already in the temp folder under it's original name. 

Is there anyway to intercept and rename it before it gets in there?  (The idea is to garantee every file in the temp folder has a unique name, no matter how briefly they're in there.)
Boris
Top achievements
Rank 1
 answered on 09 Nov 2012
1 answer
65 views
I am trying to have multiple user controls, each with a different map embedded within them -- using Google Maps.  I'm using the tabstrip and multi-page to accomplish this functionality.

Everything works fine until I add markers to the map contained in an ajaxified panel.  One loading the second panel with markers it it I get cast errors on postback.  How can I include javascript on a secondary control so that it runs properly after postback.
Maria Ilieva
Telerik team
 answered on 09 Nov 2012
1 answer
90 views
Hi Guys,

I'm experiencing a problem and was hoping you may be able to point out if there is a way round it.

I have a radtabstrip that is dynamically loading user controls on click via the radajaxmanager.

This all works as expected except the user controls all contain javascript on them.
None of the javascript is recognised when loaded via the radajaxmanager and thus a number of controls on the page don't function correctly.

How should I be implementing javascript within a user control that is loaded dynamically via the radajaxmanager?

Thanks

Thad
Top achievements
Rank 2
 answered on 09 Nov 2012
1 answer
252 views
hi

i am getting the following error , ive looked through the forums and i cant seem to find any help , the main problem is that i cant replicate it , i have tried on different browsers etc and i cant replicate it .

i am only getting it on a few client machines.

[ArgumentException: Invalid JSON primitive: .]
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() +930307
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) +376
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) +120
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +57
   Telerik.Web.UI.RadButton.LoadPostData(String postDataKey, NameValueCollection postCollection) +238
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +1018
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2653

can you give any suggestions on where i can look to find the error.

Maria Ilieva
Telerik team
 answered on 09 Nov 2012
1 answer
75 views
Hi,

I want to merge common cell values to single cell(like row span)

My Data:

UserName Name Date
------------------------------------------
user somename 1/12/12
user somename 2/12/12
user somename 3/12/12
user somename1 2/11/12
user somename1 3/11/12
user somename1 4/11/12
user somename2 6/12/12
user somename2 7/12/12
user somename2 5/12/12

I want like this

UserName        Name             Date
------------------------------------------
                                                  1/12/12
                         somename        2/12/12
                                                  3/12/12
                       -----------------------------------
                                                  2/11/12
user                 somename1      3/11/12
                                                  4/11/12
                       ----------------------------------
                                                   6/12/12
                        somename         7/12/12
                                                   5/12/12

when we using grouping it will display all the names. but we need only one name(User have 9 times but we need to display one time)
Andrey
Telerik team
 answered on 09 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?