|
Hi all. i need help. i have two text boxes in Web application. When i enter data in first textbox second will enable automatically. i have written javascrit of onblur and onchanges and onkeyup event to enable the second textbox, it works fine but the problem is when i copied and pate it in first textbox throw the mouse event the second textbox is not enabled. i tried onpaste event but it does not help me to solve this problem.
any idea to solve this problem?
|
|
|
|
|
Is the following scenario even possible as this is what 'appears' to be happening.
I have an .aspx page with a .ascx control.
I have a breakpoint set on the the page_load of the .aspx page.
As I debug the code stops at the OnInit event, continues to the InitializeComponent, then the page_load
of the .ascx control, then that's it, the page displays...
It misses out the page_load for the actual .aspx page (I've set breakpoints). I have some code in there that needs executing so the page isn't displaying corrctly.
Does the code think 'I've done a page_load, that's me done, I'll render now' ??
This project was VS2003 and has just been converted by VS2005 when loading...
Are things done so differently in .NET2 regarding page_loads?
Any help appreciated..
Harvey
|
|
|
|
|
Hi in my point
try to reset IIS and try the debug again.
Go to run and type iisreset click ok.
|
|
|
|
|
Hi,
thanks for that, that has been tried, still no breakpoint.
is it thinking I've done a page_load, that's it..no need to do the one from the .aspx page
as it has done one in the control.
|
|
|
|
|
ok man
I have another suggestion for you.
pdb files that vs is using for debugging are different than what the code is actually executing.
so try to delete the aspnet temp file and rebuild it again than try the debug and use IE browser.
|
|
|
|
|
Thanks.....
At the conversion is didn't add 1 line to the .aspx page...
AutoEventWireup="true"
This was the problem, thanks for your help though...
|
|
|
|
|
Dear Experts,
When i login a particular user crystal report displaying following error.
Failed to open a rowset
I had done verify database,run the sql queries also.There is no exception after loaded rpt its displaying error.
If any body known please help me
|
|
|
|
|
Hello,
In our application we have to open various Office file such as word, excel etc. We are sending the files to the client using response, content type etc. When sending the content we are specifying the content type i.e. MIME type accordingly. Now, recently the content is of new Office 2007 type i.e. docx, docm, xlsx, xlsm, pptx. The content is sent accordinlgy from the server with the new MIME types, however we are unable to open the files in the client machines. We tested the same on client machines that has Office 2007 installed and everything works as expected. Now we are testing the same on client machines that have only Office 2007 compatability pack installed. But this way it does not work and is providing options, find, save and cancel instead of open, save and cancel.
Can we open files using the compatbility pack alone? Are we missing something, please let us know.
gauthee
|
|
|
|
|
I had problems with the Office PIA's when trying to open a docx using Word 2003 with the compatability pack, the document just displayed garbage. I don't think there is a solution, I ended up just saving all of the documents in 2003 format.
|
|
|
|
|
By what you described, it does sound like the problem is on the client end of things. It may be that the compatibility pack doesn't set up the MIME types in the client registry, not sure (HKEY_CLASSES_ROOT\MIME\Database\Content Type). Are we talking IE on the client end here? Do you get the same behavior in other browsers?
Check out the Handling MIME Types in Internet Explorer[^]"> MSDN article for more info on that. There may be some things you can investigate here. Unfortunately, any solution is likely to require extra work by your clients, which is often something that you can't make a requirement.
|
|
|
|
|
Hi All,
i am working in product meta manager using asp.net . i have to check the configartions and connection establisment with database before application start.
please help me or suggeest me how can i approach. i am not getting any idea.
Thanks And Regards,
Guru
|
|
|
|
|
IF someone connects to your site, you want the site to work. If the DB is down, I guess you'd want to redirect to a page that says 'we couldn't afford a decent server', or something.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
Hi All,
Can any one tell me how to block an UI using jQuery in asp.net. It would be helpfull if any reference links is provided.
|
|
|
|
|
There's all sorts of ways, from having a method called in onclientclick and setting it's return to false while you want to block, to putting a transparent div over the whole screen. Why do you need to use jquery ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
|
I have a gridview in my page and want to freeze the gridview header. Even though I googled it and found out a solution that applying the following css property, the header still disappears when scrolling down and one of the css property cannot be applied because of an error.
CSS Property:
.GridViewFixedHeader { overflow: auto }
.GridViewFixedHeader table th { position: relative }
.GridViewFixedHeader table tbody { overflow-x:hidden }
However, I am not able to use the last property, overflow-x:hidden , because it is giving the error as "overflow-x is not a know CSS property or name". Any help please?
Thanks in advance.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
|
Thanks for sending this. This is quite informative. However it seems that this is for a DataGrid. Probably this can be used for GridView also. But I don't want to use any third party controls.
Can I do something on CSS property itself for the fixed GridHeader?
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
|
Thanks Abhijit. This looks great. Since I am using an update panel, this will be quite useful. However, I'm facing an issue on FreezeHeader. When I try to use that code, I'm getting the error saying that "expression(this.offsetparent.scrollTop)' is not a valid value for the 'top' property".
As a solution to this can do like this[^] But I think if I do this, the headers will not be freezed.
I'm not able to put the code in a content page as tab is not available. Can you please advice?
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Hello,
I have a web application. I want to run a program that can run in background parrallely with the actual website.
That back ground process may have messages to display , that can be display on a automatic pop up.
Can any one help ?
Bye
|
|
|
|
|
You have no clue what you're doing. You want to show automatic popups on the client, based on a separate process ? How does this process relate to the website at all ? How can it, if the website runs on the server, and your separate app runs on the client ? Why would clients install the program in question ? What does the background process do, apart from showing messages on the client machine ?
You need to explain how this is an ASP.NET question, and what exactly you're trying to do.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
hi...
I have a web application (Rostering of employees), some one does that. Website is intranet application. It is uploaded on server and employees used it from their work stations.
Now the requirement is........
1) they should continue to do what they are doing currently.... example view details, assigning, deleting.
2) suppose some body's shift is created for saturday by rosterer to start at 2pm. An automatic pop up should come or some kind of message should come up on saturday before one hour (i.e. 1 pm) for rosterer that this person shift is going to start please call and remind him.......
3) i hv many other similar kind of requirements...........
If 2nd point is fulfilled....all can be done..... I search many things based on asynchronous programming....could find something....and trying to apply. If any other simple solution is there please reply......
I hope this is clear.
Bye
|
|
|
|
|
kberawala wrote: search many things based on asynchronous programming.
Why ?
Your core issue is, your question has NOTHING to do with ASP.NET. Any code you write in your website, runs on your server. Therefore, it cannot tell the client anything. You can't do that with a web app. IF they happen to be logged into your system, you could show a message WHEN THEY LOG IN. You can't do it otherwise. Instead, you need to write a client app, have your users install that, and have that either make a network connection in order to receive messages or, more likely, call a web service running on your server, to check every 5 minutes or so, if it needs to show a message.
In short, you've taken a rentacoder job under false pretences and have no idea what you're doing. If you can even understand what I said above, that's your only solution. If you can't, then tell your client you're ripping them off.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
Hi,
Appreciate your answer...........
I hope u know there is nothing called IMPOSSIBLE.
I asked this question just to look simple and smart solution. I already have a solution for this using javascript and ASP.NET. Better dont say that u dont know wht ur problem is..........
I m not trying to be a part of problem, i want a solution, thats it. If can do it show me...or else thank you.
You are no one to judge wht kind of requirement it is and calling it as "rentacoder job under false pretences". My requirement that i described you.........is the simplest of its kind. There are more complicated requirement after this......so i want my building block to be strongest and smartest.
It might be true that u will be having better experience or knowledge than me.....but i know that this can be done using ASP.NET or visual studio development libraries , etc, etc......and i will get it done.
Bye
Topic closed for you.
|
|
|
|