|
Hi,
I didnt concern about popularity of articles.
I just wanna help people who are facing problems and coming here at Code Project.
BTW thanks you all...
Will see whats next now...
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
hello,
I created a web application in vs2003. In that appln there are 3 listbox. The criteria is based upon the selection made on the first one the second listbox will have to bind. I use listbox1_selectionindex changed method to do that. But thats not working. I am new to vs2003. I have exp in vs2005. so only i find diff to do that. If somebody knows the idea, help me.
Thanks in advance.......
Regards
|
|
|
|
|
Check whether ur listbox propery "AutoPostBack" is enabled or not. If it is False, change it to true. then it will work
|
|
|
|
|
hello,
I created a web application in vs2003. In that appln there are 3 listbox. The criteria is based upon the selection made on the first one the second listbox will have to bind. I use listbox1_selectionindex changed method to do that.
|
|
|
|
|
Please specify more accurate information about your problem.
If the page is not posting back when a selection is made, make sure the AutoPostBack property on the control is set to 'True' on all the ListBoxes.
Daniel Minnaar
Lead Software Developer
|
|
|
|
|
I upload a site.But when i upload an image it not saved in server folder.But that program properly working in my computer.How can i solve that problem.
|
|
|
|
|
i think it is a path problem you did't give application path
plz give application path to image
|
|
|
|
|
Deepthy.P.M wrote: .But when i upload an image it not saved in server
Then where it is getting stored ?
|
|
|
|
|
Sir i have to make an web based application which will search the incorrect hindi words from the hindi websites .
e.g
http://www.bbc.co.uk/hindi/ have Hindi font and we have to find like ????????????,??????? like words
How it can be possible ? can you send me some demo or source code regarding this
Please help send me some links or demos
Best Regards
Sandeep
|
|
|
|
|
|
Hi everybody.
i use local report in the my project.i went print .rdlc files which i can see preview the report as well as reporting service preview reports.
.i read article in the msdn for this problem,but it explain print a local report without preview.give me a solution for this problem.
please help me .
thanks.
As You Think So Shall You Be.
|
|
|
|
|
Hi,
I can't understand, why this line is not working:
if (Membership.GetUser() != null)<br />
Session.Add("current_user", Membership.GetUser().UserName);<br />
I used this code in my another program, and it works pretty good, but not in my new program. It is just never "true", even when the user is logging in.
Do you know what's wrong?
thanks
|
|
|
|
|
1. Membership.GetUser() will only work for an authenticated user. Otherwise, it's going to return null. To verify you're dealing with an authenticated request call "User.Identity.IsAuthenticated" on the page. If you've got an authenticated request, but Membership.GetUser() is still returning null, then that means the username associated with the authenticated user can't be found in the Membership datasource. Verify the username of the authenticated user with "User.Identity.Name".
2. If you're calling one of the Membership.GetUser() overloads which takes the username and it's returning null, then that user doesn't exist in the Membership datasource (or we've got a bug). One way to easily verify this is to try a Membership.CreateUser() with the same username. If this doesn't throw an error because of a duplicate user, then you know the user never existed in the first place.
3. Membership.GetUser() should have never worked for an anonymous user. No support was built into Membership for handling this case.
Hope this helps.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
|
N a v a n e e t h wrote: Exactly copied from http://forums.asp.net/p/939408/1170831.aspx[^]
Probably not. I see the following lines are different though:
Source:
Thanks,<br />
Mark<br />
<br />
This posting is provided "AS IS" with no warranties, and confers no rights.
Destination:
SSK.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hello everybody
im using link button as logout on my master page. i have used Require Field Validator not on my master page. when i click linkLogout button then it call the required field validaor.
how can i solve my problem
Sarfarj Ahmed
|
|
|
|
|
CausesValidation = "false"
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I am trying to create a WebControl using ICallbackEventHandler. Here is what im trying to accomplish:
-I want to have an autocomplete textbox control.
-After the third letter is typed, the textbox will hit a datastore on the server and retreive availible options.
-I want to be able to allow a Customers property which will be used to bind the textbox autocomplete to the Customer.ID property.
<code>
public class TextBox: TextBox, ICallbackEventHandler
{
private Customers[] m_Customers;
public Customers
{
get{return this.m_Customers;}
set{this.m_Customers=value;}
}
}
public class Customer
{
private long m_ID;
public long ID
{
get{return this.m_ID;}
set{this.m_ID=value;}
}
}
</code>
Any suggestions?
|
|
|
|
|
AFAICS, you haven't implemented the ICallbackEventHandler interface and you haven't written the Javascript plumbing code that initiates the callbacks from the client. You should read the MSDN documentation to learn how to do this.
IMHO, you would be better off using the ASP.NET AJAX framework to do this. The ASP.NET AJAX Control toolkit includes an AutoComplete control. You can view its behaviour here[^].
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I could use the ASP.NET AJAX Framework but then i would never learn what is going on in the background. Call me ole fashioned, but i like to know how things work and customize it accordingly. Dont get me wrong, the whole ASP.NET AJAX Framework is terrific, but i want tobe able tocreate all that on my own. Can you give me a simple sample on how touse this interface?
|
|
|
|
|
I don't have any code to hand. As I previously stated, the MSDN documentation contains all the information you need, including a sample[^] implementation.
I still think you are better off using the ASP.NET AJAX framework. Writing the Javascript plumbing code to get the client-side callback stuff to work is pretty tedious and takes up time that could otherwise be spent doing more interesting stuff. The AJAX Control Toolkit download comes with source, so you can look at the implemention of the AutoComplete control and modify the code if you need to.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi,
I have a categories which can have multiple child categories, and each child category can also have multiple child categories.
I want to display all the categories with their child categories right down to the lowest level hierarchy like:
Level 1
Level 1.1
Level 1.1.1
Level 1.1.2
Level 1.1.2.1
Level 1.2
Level 1.2.1
Level 1.2.2
Level 2
etc. etc. etc.
Is their a .NET control that does this? If not how would I go about it? Any sample articles would be appreciated. Does the repeater control not do something like this?
Regards
Brendan
|
|
|
|
|
Probably some kind of custom treeview might do the trick.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Hello friends,
I want to create report in asp using access database with looping condition .
I don't know how to do, any one can able to tell me or give some sample
codings.
Please its urgent.
Thanks in advance
regards
kankeyan
|
|
|
|
|
kankeyan wrote: I don't know how to do, any one can able to tell me or give some sample
What have you tried?
It isn't acceptable to post messages on the forums asking for code without demonstrating that you have made a serious attempt to solve the problem yourself. I suggest you search Google and buy a book.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|