This is a migrated thread and some comments may be shown as answers.

[Solved] Dialogue

4 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ronald
Top achievements
Rank 1
Ronald asked on 13 Jun 2009, 01:22 PM
hi I use chinese ,so whan i use Dialogue and get this ....http://img13.imageshack.us/i/savejpf.jpg/

I don't know how to get 'ButtonPartialText' in 'Generic' dialog. It's not work like '執行(R)','儲存(S)'.

Maybe I can use ButtonId,but I don't know which number is correct. I tried '1' or '0',it's not work.

4 Answers, 1 is accepted

Sort by
0
Missing User
answered on 15 Jun 2009, 05:15 PM
Hello Ronald,

Could you send us an example of the code you are using to generate the dialog? It would help us reproduce the problem on our side. Also, what happens when you choose the 'NoneCloseDialog' property? Does the Dialog Window close? And if you could also try using the ButtonId '-1' to see if it gets handled.

Regards,
Nelson Sin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Ronald
Top achievements
Rank 1
answered on 16 Jun 2009, 03:49 AM
HI,Nelson

Thank you for your Response.

this problem I think I can get solution in the http://www.telerik.com/documents/uguide.pdf.

「You will need to use some sort of UI spy utility to determine the correct button ID.」

so I will try to find UI spy to get buttion ID.


When I choose the 'NoneCloseDialog' property, the Dialog Window is close and using the ButtonId '-1'  same too.
 
I think it is correct.

My question is「 when I use Chinese in my system environment, the dialog is this→ http://img13.imageshack.us/i/savejpf.jpg/  .」

And how to get 'ButtonPartialText' in this Generic dialog ??

It is not working like '執行(R)','儲存(S)'.

This Situation is happen whan we use different languages(Chinese).

Meybe I can get solution by UI spy,too.

I will try it.

Ronald
0
Ronald
Top achievements
Rank 1
answered on 16 Jun 2009, 06:59 AM
HI,Nelson

I get solution by UI spy.

執行(R) --Button Id is 4426

儲存(S) --Button Id is 4427

It is work.

Now...I get new Situation.

http://img4.imageshack.us/i/testquestione.jpg/

I can not use 'Download' dialog to savy my file. HandleButton 'SAVE' is not work.

On the contrary, I can use 'Generic' dialog to save my file, the 儲存(S) Button Id is "1".

Unfortunately, if I use 'Generic' dialog I can not make DownloadPath.

Does it happen because I use Chinese ?

Ronald



0
Missing User
answered on 17 Jun 2009, 03:21 PM
Hello Ronald,

There is a fix for when the Dowload Path is typed using unicode characters for the Download Dialog handler. This may allow you to use the Dowload instead of the Generic Dialog handler. This will be available either in the beginning of July, but we can send you a DLL with the fix if you prefer to try it before then.

But you are saying the 'Save' button is not being pressed on the initial Download Dialog Window even using the UI spy Button ID method you are using for the Generic Dialog handler? Does the Download Path Dialog Window open at all and is any text typed for the download path? Does the Download handler work in either Firefox or IE?

Sincerely yours,
Nelson Sin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Ronald
Top achievements
Rank 1
Answers by
Missing User
Ronald
Top achievements
Rank 1
Share this question
or