|
by pressing enter normally the default-control's event is fired. i.e if you have a submit-button on your site then probably this one is pressed.
-walter
|
|
|
|
|
Are you handling any keyevent (enter) for the textbox? If not your default button on the page will get fired.
Thanks
Its not so easy to do... So are you here!
|
|
|
|
|
i have 10 pictures how would i use adrotator to change the picture at the specified interval
|
|
|
|
|
Use Timer or otherwise use javascript to rotate all your 10 pictures..
All the Best.
Regards n Thks
Sam.M
|
|
|
|
|
The Adrotator control specifies the interval between each <ad> tag to be displayed you can only change the <impressions> to change the order of the pictures.
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
i have a windows application with a timer, two tree views and a copy button.
when i set the time in timer, it should copy a file from the source and destination at that particular time.This is done using windows serivices.How to use Windows Services.And how to create the windows services
thanks
tirumal
|
|
|
|
|
Are the same tirumal MCA from Vivekananda college. If so please write to mail me your email. Thank you.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
No,I am not that person,but could you please answer the query that i posted in?
thanks
tirumal
|
|
|
|
|
Hi there:
I think just do a search from uncle Google...here is just one from CP Windows service
<< >>
|
|
|
|
|
thanks but that does'nt work for me. I want an explicit procedure for calling the windows service from the windows application. I know how to use the windows service. the link you sent me describes how to create and use the windoes services. But i am not looking for that.
I would clearly explain what i am looking for:
A Procedure or a method of how to call the windows Services from the windows application.
thanks
tirumal
|
|
|
|
|
System.Diagnostics.Process.Start("net start <<service>>");
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
Well i'd like the pages in my site to appear differently (such as background color, text size, font etc) based on if the user click on a certain button from the home page. Now the pages are the same as when the user doesn't click on the button (use customized site) and therefore what I'm thinking is to create new style sheets (in addition to the ones that are currently being used by the pages) and then add their references to the aspx pages also (since we could have multiple external style sheets in any particular aspx page). What do you guys think about this approach?? or if there's a better design then this???
Secondly if I go with this approach, how do I make the subsequent pages (after the user has clicked on Customize my site button) use the newly created styles sheets with my new properties?
Any suggestions would be appreciated!
Thanks
~TINA
|
|
|
|
|
Hey .NET 2.0 has Themes Concept... You can try that also...
|
|
|
|
|
Hello Venkatesh,
i have a query about how to call the windows services from a windows application.
i have a windows application with a timer, two tree views and a copy button.
when i set the time in timer, it should copy a file from the source and destination at that particular time.This is done using windows serivices.How to use Windows Services.And how to create the windows services
thanks
tirumal
|
|
|
|
|
This is not the place to post this question. This is an ASP.NET board.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi Venkat, I should have mentioned. We are still using 1.1. And as far as I know, there’s nothing of this sort (themes concept) in 1.1 Any ideas????
|
|
|
|
|
Then, using of the CSS is the best and easiest way...
|
|
|
|
|
Hi,
Iam authenticate the user against Active directory. Iam able to access the active directory by using directoryentry. But when i use the built in features provided by .NET iam getting error.
If i give my username and password incorrectly it is giving "Invalid User Name or Password". if i give correct data i get error.
In My web.config i use the following values.
<connectionstrings>
<add name="MyConnectionString" connectionstring="LDAP://servername/DC=mydc1,DC=mydc2">
<membership defaultprovider="MyProvider">
<providers>
<add name="MyProvider"
="" type="System.Web.Security.ActiveDirectoryMembershipProvider,
System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionstringname="MyConnectionString" connectionusername="MyName" connectionpassword="MyPassword">
<authentication mode="Forms">
<forms name=".ASPXAUTH" loginurl="login.aspx"
="" defaulturl="default.aspx" protection="All" timeout="30" path="/" <="" forms="">
protected void MyLogin_Authenticate(object sender, Authenticate EventArgs e)
{
MembershipProvider objMP;
objMP = Membership.Providers["MyProvider"];
}
When i click the login button i get the following error
Object reference not set to an instance of an object. (D:\MP1\web.config line 41)
can anybody help me out.
Regards
|
|
|
|
|
Have you enabled the Impersonate property in your application?
|
|
|
|
|
Hi there,..
I'm using ASP.NET 2.0 and also applied Ajax Concept. Now in one page(MyAccount.aspx), if i click enter with focus on one Textbox this is redirecting to home page that is first page. I also using Master page. Why it's happening. It should redirect to that same page(i.e) My Account Page..
Please Help me
Regards n Thks
Sam.M
-- modified at 1:55 Monday 8th January, 2007
-- modified at 1:56 Monday 8th January, 2007
Regards n Thks
Sam.M
|
|
|
|
|
Is the TextBox within a login control? This may happen if you have the login control as the login control redirects to the default page.
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan
|
|
|
|
|
Hi all,
In my asp.net application I need to display data in datagrid which is in Excel Sheet. For that i read the data into data table and then bind it. Now the problem is Application displays error message " Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request".
My application works fine if Excel Sheet contains upto 20000 rows. Problem araises more than 20000 records
Any one please help me.
thanks & regards
sumanth
this is sumanth, completed m.c.a from india.
|
|
|
|
|
It seems you are getting this error because of Server Timeout. You might like to consider async operation while working with this big operation.
- ashish
|
|
|
|
|
hi,
In the web application developed using asp.net 2.0 , on the click event of a button a pop-up window is opened.
While running appliction pop-up window is opened after clicking the button (i.e. btn_click is called).Or alternatively if we want to call the same event when user press the Enter key by focussing control on that button using Tab key.In this case,click event is not called but I want it should be called.
I want Btn_click event should be called either
user will click on button(this is working) or
prees Enter key provided focus is on that button (even being focussed after hitting Enter key not working).
Hope you understood the problem. Please guide.
Thank you.
Have a nice day!!
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
Hey Yog,
I think, when you press enter, the browser is using the same pop-up to open again.. Put an alert() message in the click event and check whether it is called or not.
|
|
|
|