Гость
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Troubles with OnMouseOver event / 7 сообщений из 7, страница 1 из 1
24.12.2003, 17:50
    #32362436
passs
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Troubles with OnMouseOver event
Hello Guys!

Can anyone tell me how can i solve trouble with onmouseover event in ASP.Net.
I need to creat an ImageButton with onmouseover event, which change ImageURL. Why can not i use some html forms - first, my JavaScript code doesnt work in this ASPX document and i need to send some data from DB, which will be calculated on server side and then sends to this ImageButton.

If you know how to solve this problem or know some other alternative solution, please, email me to:
perevalov@samsung.ru

i'll be very thankful to you!
Best regards!

Alex
...
Рейтинг: 0 / 0
25.12.2003, 12:12
    #32362996
hDrummer
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Troubles with OnMouseOver event
это кажется из этой же истории

Код: plaintext
1.
btnNewWindow.Attributes.Add( "onclick" , @ "javascript:window.open 
('testintruder.aspx?id=55',640 , 480 )");



только код надо модифицировать соответствующим образом.
...
Рейтинг: 0 / 0
25.12.2003, 14:58
    #32363352
passs
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Troubles with OnMouseOver event
hey,

May be but i have the another problem. Using VB code on serverside i'm sending the data to Alt in this ImageButton. And in ASP.Net there is no OnMouseOver event,right? so we can use JavaScript on usersside, but Server must calculate this data, and so this event must be on server's side. Using OnClick i can do it, but i need exectly mouse Over.

I've heard about some library with two components, which are artificialy have onMouseOver even. But i can not install this library:-)) too stupid i am, i think. If you interested in, i can send this library to you.

Thanks for the answer!
Best regards,
AP
...
Рейтинг: 0 / 0
25.12.2003, 16:41
    #32363555
hDrummer
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Troubles with OnMouseOver event
passs, чтобы использовать OnMouseOver нужно onclick поменять на onmouseover - всего делов то. ну и код скрипта тоже.
...
Рейтинг: 0 / 0
26.12.2003, 10:26
    #32364085
passs
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Troubles with OnMouseOver event
I think it is not so simple, because there is just NO onmouse over event in ASP.NET components. And this exchange will bring a mistake, i tried.
...
Рейтинг: 0 / 0
26.12.2003, 14:53
    #32364592
hDrummer
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Troubles with OnMouseOver event
давайте отложим этот вопрос до пн, что-то у меня сегодня настроение уже не рабочее, хотя имхо проблем там особых нет, впрочем посмотрим :)
...
Рейтинг: 0 / 0
29.12.2003, 10:18
    #32365544
passs
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Troubles with OnMouseOver event
Hey, thanks for help!

Tried as you said, jest exchange onclick to onmouseover. Doesn't work. Dont show a mistake, but this event doesn't work. I think it is because of protection. Maybe it was done because of:
if user roll mouse over some object, data will be sending to server, there calculate and then send back. So it is passive event and may make work of some application slow. But actualy i dont know:-)

I've wrote what i needed in PHP+JavaScript, but if you know how to solve this problem i'll be very thankful to you, because in very soon future i'll have to create an ASP.NET application.

Best regars,
AP
...
Рейтинг: 0 / 0
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Troubles with OnMouseOver event / 7 сообщений из 7, страница 1 из 1
Целевая тема:
Создать новую тему:
Автор:
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]