|
Thanks for your help..
Regards,
Suresh Dayma
|
|
|
|
|
Hi everybody
i need ajax code for dropdown list box.
from where can i get it?
Imran
|
|
|
|
|
Get it from our Best Friend Google.
Regards,
Satips.
|
|
|
|
|
ARE u mad to get the free source coding.
go and sleep buddy
|
|
|
|
|
Hi indunil
i no need to go and sleep :->
i got free source code of ajax.
EVERYTHING IS POSSIBLE IN THIS WORLD
PaTHan
|
|
|
|
|
I have to prepare a survey like a newsletter, then send it as email to users. Users will fulfill form on EMAIL, then will click send button to send theirs data.
To do this, first i wanted to show what is happining if the user clicks button. but i see nothing is happining. Javascript function is not running. My code is this. What is wrong?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head><br />
<title>Untitled Page</title><br />
<script language="javascript" type="text/javascript"><br />
<!--<br />
function Button1_onclick() {<br />
alert('It is OK.');<br />
}<br />
</script><br />
</head><br />
<body><br />
<input id="Button1" type="button" value="button" language="javascript" onclick="return Button1_onclick()" /><br />
</body><br />
</html>
|
|
|
|
|
Hi All
I have two dropdownlist.first is ddl_category and second is ddl_op
when i select value from ddl_category i want to set this value into ddl_op.
declare str
str=ddl_Category.Selectedvalue.text
I write ddl_op.selectedItem.Text=str
But it's not working.I am not getting exact problem.What happened in this situation?Can u help me how to write and assign value in dropdownlist in aspx page?
Thanks
monika
|
|
|
|
|
hi,
Set autopostback = true for the first dropdownlist...
Thanks & Regards...
Amit
|
|
|
|
|
Hi amit
But my both dropdownlist are filled using javascript codeing.So it's not possible to set autopostback property to true.
if u have solution pls reply me.
Thanks
monika
|
|
|
|
|
Does both of your dropdownlists consists of same items and on selection change of the first dropdownlist you want to set the same for the second one?
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi Monika,
create a function in jscript to set the text of 2nd ddl and
call this function on 1st ddl's indexchanged event at client side.
Thanks & Regards...
Amit
|
|
|
|
|
Hi amit
I got my solution thanks.
I have one confusion if u have solution pls reply me.
I have one function in javascript.This function returns value.
How to use this return value in aspx page?
function call()
{
retrun val;
}
How to use this value in my aspx page?
I call javascript function like:ddl_category,attributes.add("onchange","call();")
I want a value from function in my aspx page.
Pls help me
Thanks
monika
|
|
|
|
|
Hi Monika,
in jscript function, u can store ur data in a
label or hidden fields, which can be further access
from code behind at the server...
Thanks & Regards...
Amit
|
|
|
|
|
The leader of our team in a company said that he don't want to use any asp.net code until it is the last choice because it will make the website heavy(slow) and when we need it we will use AJAX and for the same reason he prefer using Repeater controls instead of any DataGrid or DataList controls.So most of the website code will be javascript and html pages.Do you think these ideas are correct?.
I am too late but i will never give up
|
|
|
|
|
ASP.net isn't slow if u use it correctly and write efficient code
using AJAX helps reducing postbacks so it's good
u can search for articles about advantages of using AJAX
As for the repeater issue here is an article about it:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnet-whenusedatawebcontrols.asp[^]
as for javascript, it is recommended to use it when possible because it's client side scripting so it would reduce the load on the server
so ur team leader is right
to get more info about website performance i'd like to recommend this article by jconwell on code project http://www.codeproject.com/aspnet/SitePerf.asp[^]
it might be a bit harder when u performance is the goal, but u'll get out with a piece of art when u r done
Hope this would help
Best Regards
3ala2
|
|
|
|
|
hi
i am devloping windows application in which i am openning a URL in WebBrower object and the taking the page in memory by using HtmlDocumentClass object but i want to set cookies first how to set cookies Please tell me
|
|
|
|
|
hi
I am working in .net 2005 webparts , I have a text box inside a webpartZone I want to validate the text box using required field valuator . but don’t want to use share point.
Regard
Smruti Ranjan Rout
|
|
|
|
|
my requirement is create a msmq and send it to another machine and also i want to send message along with the message queue.so i've created msmq object to send queue.
MessageQueue myQueue;
myQueue = new MessageQueue("\\\\172.21.8.200\\private$\\DevXTestQueue");
myQueue.Send(Ex.Message.ToString());
so i got the this error
Exception was thrown: System.Messaging: Cannot create a queue with the path \\172.21.8.200\private$\DevXTestQueue.
pls help me to solve this problem..
-- modified at 4:14 Thursday 9th November, 2006
|
|
|
|
|
Hi,
I am having two users like Admin and User.Now i dont want to Show admin Part to User.For that I have created Two Master Pages,one for Admin and another for User. And in Mater pages I have created menu containing different contents for Admin and User. Admin can view all things but User can't view admin Part.
So how to do this ?
Any other way ?
Thanks.
|
|
|
|
|
hi
You can have one master page. and after login you can change your menu according to user's access privileges. You dont need to have two master pages for that.
Hope it helps ;);)
Regards,
DJ Rock
|
|
|
|
|
But i dont know how to change my .ascx user control which i have make that s treeview.
|
|
|
|
|
As u have designed the page for different user then u might be checking the user or password or something like that. check their if the user is "Admin" then view all the content, if the user is "User" then view the content as per
|
|
|
|
|
Ya i am checking it via role.. but as i have said that i am using .ascx user control in which i have made treeview. and registered that user control in every web page now how can display different .ascx control to every page ?
|
|
|
|
|
in User Control, define a property like "_IsAdmin". if he is admin, add the Admin items or not in to menucontrol or treeview control.
Or create two menu user control, add both to the page , setting theirs visibility to False. After loging, show whis is necessery
|
|
|
|
|
Hi,
Thanks it's working as i was want.....
|
|
|
|