|
I'm working on this app and had all my buttons and things on this page working. I have to add some more things, so I elect to use a tabstrip (a componentart tabstrip). So now my original page is on a multipage. Everything looks good and seems right but when the buttons are clicked the page is not posting back??
Anyone know what gives?
|
|
|
|
|
hi
Check if you have any validators in any of the pages in your multipage firing validation,but you may not have given the error message to display.
Or,check the InitialiseComponent() method for the event handlers because i faced the similar problem and in my application,i had some javascripts and after adding it, the event handlers weren't there in InitialiseComponent() method ... Check for it too...
Also do anyone know what have caused the evenhandlers in InitialiseComponent() method to vanish off,when i added Javascript code in my application?
~VSree
|
|
|
|
|
Yea, I disabled them to see. Wasn't the problem.
|
|
|
|
|
Hi
I think if you are using ASP.net 1.1 and if you have changed the name of the button then it maight had happened check the button event name and Id of button both are same and Event handler declaration should match it
<l>Thanks and Regards
Sandeep
|
|
|
|
|
|
i think you have to enable the autopostback=true
Sathesh Pandian
|
|
|
|
|
|
Dudde problem solved ? How ?
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Hi all,
If I create a new hello-world webservice or similar declared like this:
[System.Xml.Serialization.XmlRootAttribute(Namespace = "http://HelloTest/2007/01", IsNullable = false, ElementName = "HelloResponse")]
And serializes the response - in the service - theres a nice namespace on the root node like this:
<HelloResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=http://HelloTest/2007/01>
This is also present when invoked from a browser. But if I add a webservice reference in Visual Studio and call this method, the "xmlns" attribute is not showing in the Xml! Where? Why??? It is extremely important that this namespace stays on the root node. What am I missing here?
If I extend the response to include some other nodes mapped from classes with own namespace declarations those namespace gets shown - on those nodes that is. Not on the root node. And I need it on the root node
Its really drivíng me nuts - plz clarify...
--
Werner
|
|
|
|
|
Hi all,
From participating in various forums I understand that it is impossible to get a "xsi:schemaLocation" in a Webservice response created using C# and VS2005 - unless the response is hardcoded implementing the IXmlSerializable interface..See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1236565&SiteID=1 for reference.
In general all I want is that attribute to appear on the root node. But can it really be that I have to implement the above interface just to attach an attribute to a webservice response? Im using VS2005 and .NET 2 if that matters...
Plz clarify
--
regards;
Werner
-- modified at 15:58 Monday 19th February, 2007
|
|
|
|
|
hi
i want to know how to use session variable in asp.net2005 and why it is used.
and while doing coding at which place this should be written.
thanks
|
|
|
|
|
Session variables allow you to store information between post backs. The web is stateless, meaning that it doesnt know what it sent you what you are doing or anything between server hits, so to maintain this you can use session variables/cookies/etc...
The session variables can be set simply by coding Session("VariableName") = Value and then can be retrieved by coding Value = Session("VariableName") .
The session is maintained by a SessionID that is created at the first request and is stored as a session cookie in the user's browser in most cases.
Cleako
|
|
|
|
|
As cleako has described session mentain user information. it can be stored at client side or server side both. At client side, it is stored in cookies and if cookies are disabled then automatically it goes to server. You can keep your session data in database also which is most effective. I hope, this information will help you a bit.
|
|
|
|
|
Hi Guys
I am sorry for posting this query here. But no wonder, i don;t find any other site as we have codeproject.com. I love you guys for wonderful work.
I have one small query but it is very critical for me. I need to read text from images(gif, bmp, tif etc..). No coding is required, i am looking for some tool where i can open the image and then copy the text in clipboard.
That's it. I tried couple of free software e.g. snagit, mspaint.net, nitro etc... But ....SO please help me and suggest some good free tools to done this job. Otherwise, i need to type all this and very soon i will be called data entry operator..........please please help me
Amit
|
|
|
|
|
Images doesn't contain text, it contains the graphic representation of characters. Therefore there is no easy way to just copy the text. What you need is software that can recognise the characters and make text from them.
This is called optical character recognition, so what you should look for is OCR software.
---
single minded; short sighted; long gone;
|
|
|
|
|
yes, i understand this. i triedcouple of ocr and they convert image text to ascii...do u know any software?
amit
|
|
|
|
|
I don't know if any OCR libraries exist in .NET, google is your best bet here. And don't expect it to work 100% of the time, no OCR does.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
you have to use optical character recognition softwares.
Like simpleOCR,Lead tools.
But most of the tools are not free for commercial purpose.
Sathesh Pandian
|
|
|
|
|
Hi,
I have three drop down lists in page1. DDL2 is values are dependant on DDL1, DDL3 values are dependant on DDL2. Once I select DDL values I have submit button that takes the values from these DDL values and redirects to appropriate page based on case statements. Now the issue is the new loaded page is opening with DDL values default to their first value rather than retaining the vales from prevous page values. Can someone help on retaining the values of the DDL between response.redirects.
Appreciate all the help
Raj D
Raj D
|
|
|
|
|
1) use server transfer and properties.
2) if using framework 2.0, u can choose posturl property of submit page.
3) session, hidden var are other ways to maintain state.
I hope this will help you.
Thx
Amit
|
|
|
|
|
There are many ways to do it. I think you should pass the DDL values through querystring and trap in the next page otherwise session and hidden fields are also useful.
|
|
|
|
|
Hello, I am fairly new to asp.net development....I am wondering how to best
do the following and any ideas are very welcome.
I want all users to login to a screen and then based on their
credentials show another screen with a list or menu of web sites that
they are eligible to enter...each site is independent from the other
once it is started. So the user would click on a menu item and it
would open a web site. The menu system must still be active in case
the user wants to start another web site (still having the first site
open). Each site can open in their own browser window but will be
completely independent from the other open web sites.
I hope I am being clear on what I am describing...
I am using asp.net 1.1 and there would be initially about 6 web site
choices (which might increase in the future)...
I appreciate any input you may have on how to go about designing/
coding this solution...
Thanks,
Scott Daniel
|
|
|
|
|
Are you also developing/running the other websites? One problem is the user will also need to authenticate with those sites, otherwise they could skip the first login and see the website anyway. A central account/login service would be one way (a bit like google)
|
|
|
|
|
Hi Badgrs,
Yes I am doing the developing/running of the other web sites...can you give me a 20,000 foot overview of how to structure things? Some of these sites are already written and I would love to be able to 'plug' them into this 'front end'...
Thanks,
Scott
|
|
|
|
|
Hi EveryBody
Im doing some online report with VS 2005-->>ASP.net-->>report.rdlc . I got the database on my computer where I am getting the specific report. Now I have changed the ConnectionString and I have put (SQL Server Databsae path (where the main database is stored in the web server)). Right now Im not getting any report and any error.
One the otherhand I have modified .Net Framework and I have .Net Framework on My Server
Question?:
1. Do I need to install reportViewer.exe in server?
or what else do u suggest?
Thanks
Sarfarj Ahmed
|
|
|
|