Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
141 views
Is there a way to keep the progress indicator visible after an upload to show the upload statistics to the user?  It dissappears on postback.
Rob Teegarden
Top achievements
Rank 1
 answered on 18 Mar 2008
3 answers
398 views

Prometheus vs Rad. 

In Rad I was able to use

    ClientScript.RegisterStartupScript(cstype, "", " AjaxNS.AR('ctl00$ContentPlaceHolder1$Buttonx', '', 'ctl00_ContentPlaceHolder1_RadAjaxPanel1', event); ", true);

to Submit my page back to itself.  I am creating some images for the user and want to show the loading panel while the work is being done.  When the image finish creating the "Loading" would disapear. 

With Prometheus I can get the page to submit back to itself, but the loading panel does not appear.
I have tried:
ClientScript.RegisterStartupScript(cstype, "", " 'ctl00_ContentPlaceHolder1_Buttox.click(); ", true);

ScriptManager.RegisterStartupScript(Buttonx, cstype, "", " 'ctl00_ContentPlaceHolder1_Buttox.click(); ", true);

If I disable the start up script and just click the button the loading panel does appear. 

I can tell that is it is not firing the OnRequestStart event of the loading panel. 

What I am trying to accomplish is that the page loads - then automaticly post back to it self showing the loading panel.  Generate some user images in the code behind of the button click.  show the images - then hide the loading panel. 

Any help would be appreciated. 

Steve
Telerik team
 answered on 18 Mar 2008
2 answers
82 views
I don't know if this is the reason, but I use a radAjaxLoadingPanal on a page used in a radWindow. I use the "DefaultLoadingPanelID" of radAjaxManager to show the radAjaxLoadingPanel image. The problem is now that the images keeps visible for ever, also if the Ajax request has ended. Any ideas?
Markus
Top achievements
Rank 1
 answered on 18 Mar 2008
3 answers
236 views
I would like to be able to perform a simple call to the server just to get some information.  The simplest example of this is that I would like to issue a call from the client like this:

myBoolVar = serverIsThereNewDataForMe(MyID);

or

myStringVar = serverWhatIsYouFavoriteColor();

I specifically want to be able to ask the server for some simple data without having to incur the overhead of the normal Ajax call where the entire page script is run.  The reason for this is I might be making a call back to the server every second or two and I'd like to optimize this to be as simple as possible with as little network traffic as possible.

Thanks.
Maria Ilieva
Telerik team
 answered on 18 Mar 2008
3 answers
110 views
Hi,
Wasnt to sure where I should be posting this question, so I decided to post it within the general section.
My scenario is as follows:
I have a form, which I expect the user to fill out detailing as businesses details. Upon that form, I have an image button that opens a radwindow to another page, that allows the user to select a correct address based on that postcode.
I have acieved this using the examples (Session), but in all examples the parent page will post back once the radwindow is closed, thus so, any data already entered into the page is lost.

I want to be able to pass the data back to the parent page without refreshing the parent page (and thus loosing any data already entered).

I think this could be acomplished using an AjaxRequest, but I am not sure how, so any examples would be great.
Steve
Telerik team
 answered on 18 Mar 2008
2 answers
117 views
Hi,

I would like to know, if it is possible to remove the DeleteButton from the Image Manager browser.

Best regards

Falk
Falk
Top achievements
Rank 1
 answered on 18 Mar 2008
1 answer
153 views
Hi, I have a custom component that uses a strongly-typed DataSet or DataTable, and I want to have access to the current filtered data that the Grid is showing.

I tried this code but seems not to be working. My grid fills with a LinqDataSource.

I
s there a way to do this?

Regards,
Christian
alan
Top achievements
Rank 1
 answered on 18 Mar 2008
1 answer
93 views
If I am to use the following line:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

My colour picker works great. But if I am to leave this line out it ruins the spacing for the colour picker. I have tried adjusting every setting eg: width etc but have no luck.

I need to exclude the DOCTYPE line from my code as my CSS file is a .aspx (so it builds the css values from a database) and does not work in FIREFOX if I enclude that line.

Does anyone know how I can adjust the spacing for the colour picker?

Just clear up what I am getting:

[] = a colour square

[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []

Thanks

Ubong
Telerik team
 answered on 18 Mar 2008
1 answer
97 views
When I do a 

Response.Redirect(

"somepage")

in the AppointmentCreate-event or the nserted event of the Scheduler, a

Sys.WebForms.PageRequestManangerParserErrorException occurs.

error occurs sometimes, hard to reproduce but appears reproductable.

It appears not so often if I use

ajaxMgr.Redirect(

"create_schedule.aspx");

But it also appears sometimes with that approach.

Thanx

Matthias

Peter
Telerik team
 answered on 18 Mar 2008
7 answers
565 views

The radconfirm function has the following function signature according to the documentation:

radconfirm(text, callBackFn, oWidth, oHeight, callerObj, oTitle)

And the callback function that's passed as parameter callBackFn in the above signature has a function signature of:

confirmCallBackFn(arg)

The Arg parameter is described as being True if the user clicks OK and False if the user clicks Cancel (should actually be true and false -- little "T" and little "F", but I digress).

My main question: what happens to callerObj parameter defined in the radconfirm function signature? Shouldn't it be passed into the confirmCallBackFn as a parameter (e.g. the function signature should change to be confirmCallBackFn(arg, callerObj))? This would be very convenient as I could then abstract away the calling of the confirmation dialog somewhere else and pass into my convenience function the function that should run on confirmation. E.g.:

function doConfirm(message, title, functionToCallOnConfirm)  
{  
  radconfirm(message, onConfirmCallback, null, null, funtionToCallOnConfirm, title);  
};  
 
function onConfirmCallback(arg, callerObj)  
{  
  if (arg)  
    callerObj();  
} 

Then, where I need the confirmation dialog in my client app, I can simply do:

function somethingThatRequiresConfirmation()  
{  
  doConfirm("message", "title", doSomething);  
}  
 
function doSomething()  
{  
  // Code to do something  
} 

This is nice because every developer on the team doesn't have to concern themselves with how the confirmation dialog works. They just call the doConfirm function with their text, pass their worker function and they're done.

Secondary, and very minor question: Isn't there a better way than completely overriding the dialog template to change the text on the buttons? The documentation indicates the text is "Yes" and "No," however, in practice (at least with the "WebBlue" skin) the text is actually "OK" and "Cancel" mimicking the undesirable behavior of the default javascript confirm function.

Excentive
Top achievements
Rank 1
 answered on 18 Mar 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?