|
Hi,
Can any one help me to hide and unhide data in a column(ItemTemplate or BoundColumn). I know how to hide (using style, overflow, hidden process). I would need solution, specifically, to unhide data that has been hidden with the above way.
For example, I have 200 characters length data that need to be displayed in a column. I am displaying only 10 characters by hiding the rest in one situation. In another situation, I need to display all 200 character long data.
Any soon help would be great.
Thanks for your help...
|
|
|
|
|
IMO, the simple way is to cut off the string with the SubString method whenever you want to display data in short.
|
|
|
|
|
|
I'm pretty new to asp and was asked this question:
Is it mroe efficient to declare variables in asp?
Anyone able to shed a bit of light on the subject please
|
|
|
|
|
How are you declaring them?
Also I have a question to add, I want to declare (and set values to) a bunch of variables in a separate file. I use "Imports classname" and in the class I declare them using "Public Shared variable" and "variable = value". Anyone have a better idea/way?
|
|
|
|
|
Problem is, this is comming from an exam question, so I do not know how they are being declared. Plus, I'm comming from a C++ environment and have never really used asp before now.
|
|
|
|
|
Hi everyone!
I'm fairly new in ASP.NET and I'm having trouble understanding how to set up forms authentication in my ASP.NET 2.0 web-application using user information from an existing database.
There's nothing wrong with the current forms authentication using the default SQL database aspnetdb.mdf , but since this application is already using another SQL database with the company staff information (among other stuff) which is updated continuously, i.e., creating/deleting "users", it would be redundant.
From what I got to understand so far, that is possible, though I don't understand if I:
- can reuse the existing login/authentication controls/pages;
- can set up the application to use the DB without using the aspnet_regsql.exe tool;
- should make changes to machine.config or web.config , and what changes to make, etc;
Though I searched the web, I couldn't find the answers.
Your assistance would be appreciated.
Namik
|
|
|
|
|
+ If you want to simply reuse the default db schema used by the default ASP.NET providers in your existing Db, you can run the aspnet_regsql tool against your database.
+ If you want to use your own custom db schema with the supported services like membership ..., you will need to implement custom providers, then configure in the web.config file, and you can use the built-in controls such as Login controls as well as the other services.
For more information, see ASP.NET Provider Model[^]
|
|
|
|
|
Hi friends.Can you suggest me a final year project in XML Web Services.
|
|
|
|
|
How about GPS (mobile app)? Was an idea that i had when trying to figure out a project for my final year.
|
|
|
|
|
GPS Mobile app? Can u be a little more descriptive regarding this.
|
|
|
|
|
Hi, I am the new member of this site. Here is my question.
How to set the time for the images that are displayed on the AdRotator.
Madhavi
|
|
|
|
|
Hi there. The AdRotator control doesn't really work that way - it selects a picture to display from your advertisements.xml file and doesn't apply a timer. A refresh on the page from the browser would allow AdRotator to potentially select a different, random picture.
But I suppose if you really needed a timer-based swap of images, you could use an AdRotator in an Atlas UpdatePanel. Atlas is Microsoft's AJAX implementation for ASP.NET.
|
|
|
|
|
I'm using DetailsView and ObjectDataSource, and I'm very happy with this combination. But I have one problem... Let's say what my BLL object has a method called Insert, and this method thrown on Exception (like duplicate keys, etc). How I get this error in my Asp.Net page? Who call the Insert method is the Asp.Net via reflection, and give not chance to me protect inside a try-catch... has no event handlers like "OnError" neither in DetailsView, neither in ObjectDataSource ....
Then, what the method recommended? Someone has a idea?
Regards
Jesus is Love! Tell to someone!
|
|
|
|
|
You can create a handler for the Inserted event of the ObjectDataSource and check the e.Exception of the event data (ObjectDataSourceStatusEventArgs ) to see if there is any exception thrown by the insert method. You can do the same thing with the ItemInserted of the DetailsView control.
|
|
|
|
|
Nice! Thank you very much!
Jesus is Love! Tell to someone!
|
|
|
|
|
Just one observation: This isn't intuitive... the Inserted event, in theory, is raised only if one item was inserted, i.e., has not exceptions...
Appears a bad design from Microsoft
Jesus is Love! Tell to someone!
|
|
|
|
|
click.ok wrote: Just one observation: This isn't intuitive... the Inserted event, in theory, is raised only if one item was inserted, i.e., has not exceptions...
Actually, the Inserted event occurs in two common cases:
+ After an item is inserted.
+ And when an exception is thrown from the Insert method, it means if your Insert method throws any exception, it should be captured by the ObjectDataSource ( or more exactly the ObjectDataSourceView) and wrapped in the event data object.
|
|
|
|
|
i have built and deployed websites in my learning process gearing myself for when i leave colleg, but ithink is time i move on to the next stage and learn the following
1. encrypt database
2. encrypt the data been request and sent from server which was retirved from the database to clients page, so that they can view the detials
i was wondering if anyone could point me into some tutorials to do this
kenny
-- modified at 19:46 Saturday 22nd July, 2006
was doing some reading and i suessing the process that i would have to take is to retrieve the information from the database and encrypt and then store the encrypted value in a cookie and then access the cookie to display the information on the webpage ????????????????? is this the correct line of thought...because its a full encryption i want to do, i want to simulate that i am wrking with sensitive data
|
|
|
|
|
this is pretty new to me so i not too sure what is the general direction i should be looking, in order to full fill the whole encyption and protection of the data been sent from the server
|
|
|
|
|
"An unhandled exception of type 'System.CannotUnloadAppDomainException' occurred in Unknown Module.
Additional information: AppDomain can not be unloaded because the thread 640 can not be unwound out of it."
hi, i keep getting this message when i run debug of my asp .net application. Any ideas about how i resolve it?
cheers
Mike
|
|
|
|
|
It looks like your ASP.NET installation just died.
Have you tried reinstalling the .NET Framework?
WM.
What about weapons of mass-construction?
|
|
|
|
|
Hi
I want to develop a small intranet application involving a server and around 10 clients in a small office environment with login and password . Where the server admin has the rights to monitor all clients and their mails but the individual client can only access his mails and data.
Could any body help me out for this it would be a gr8 help.
Thanks
|
|
|
|
|
Where exactly do you need help?
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
hi, Thx for the reply. As i m a beginner in Asp.net i wanted to know that how should i proceed for this task ie what things should i keep in mind and what should be the proper way to achieve it.
Thanks.
|
|
|
|