|
it is working very fine if the size is 1-4 mb.
Let me tell u the complete situation,
there is a button and a file upload control.
now select a file with the size of 15 mb , and click the button , u will bet the error.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Hi Pankaj,
When you upload a large file your request size should support it. Therefore I think you need to increase the size of the MaxRequestLength in your web.config to support this.
Add or Change this tag in your web.config, in the <httpRuntime> section. This is specified in KB.
<httpRuntime maxRequestLength="15360"/>
But, the maximum would be 100MB.
Thx,
Gayani
modified on Friday, June 6, 2008 9:13 AM
|
|
|
|
|
hello frnds,
i have create wesite to send email and do the code using CDO but when i run the code, it gives me message "Transfer failed to connect the server"
Then i tried with System.Net.Mail but it give sme message that "XXXX is not valid in current context:25"
what i can do ?? how to solve these error
what it mean ???
how can i clear it ???
thankx in advance
Koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
It sounds like your connection string is incorrect, maybe you should try testing the connection in the design view of visual studio?
Double check you have the correct information
We are not a Code Charity
|
|
|
|
|
Hi all
I am using AutocompleteExtender with TextBox ,the autopostback property of the textbox is true and there is some event on textchange event,The Autocomplete extender show the scrollbar.
The problem is when i drag the scrollBar the Text TextChanged event is call means it postback,help me
Thanks
|
|
|
|
|
Well when you move away from the textbox the event will be called no matter what, thats what the event does, maybe try moving your code to a different event?
We are not a Code Charity
|
|
|
|
|
Hi
Please give me the solution of my problem(Auto Complete extender post back when scroll) which event i use for this.
Thanks
|
|
|
|
|
Hi all
I am developing the web application where I have used CSS classes for HTML and asp.net server controls. when I am opening the application in IE7, style are applied correctly. But when I am opening an application in IE6 there is no style applied. I am using IE6 with SP1 and CSS 2.1 . Can anyone please help me to know if I need to install any other fixes so that styles will be applied to the application when opened in IE6? Many thanks in advance.
|
|
|
|
|
IE 6 respects CSS. Something else is wrong here. Or, the problem is the specifics of your CSS.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Lots of variables here.
Are you using the correct doctype?
Are there no styles being set at all? If so do you have some conditional code that is blocking the stylesheet in your html?
|
|
|
|
|
I am playing around with the dotnet membership providers and have hit a bit of a problem.
I have created a custom "MyMembershipUser" class that inherits the system.Web.Security.MembershipUser class. This seems to compile ok.
I then made a "MyMembershipProvider" class that inherits System.Web.Security.MembershipProvider
There are a number of MustOverride functions in the base MembershipProvider class that are MustOverride and have as a return value the base MembershipUser class.
When I create the Overrides Functions in MyMembershipProvider, the functions will only let me return the base MembershipUser class.
Is there any way to let the Overriding functions in MyMembershipProvider to return a MyMembershipUser class instead of the base MembershipUser class?
|
|
|
|
|
You can't change it, no. You CAN return a derived class and cast it in the code that recieves it.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
How can i display gridlines horizontally inside a html table, not inside a TableGrid or Gridview.
so my each row is separted with a color
Thanks
|
|
|
|
|
<tr style="border-bottom-width:thin;">
|
|
|
|
|
netJP12L wrote: inside a html table, not inside a TableGrid or Gridview.
What do you think a gridview is ?
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
please help me in my project, give me some example how to make dictionary..
also give sample for searching words in database..
thank you
ratski
|
|
|
|
|
kiratski wrote: give me some example how to make dictionary..
Well, you'd use a hashtable, I guess, or build it into a resource file.
Select * from mytable where theword LIKE '%word%'
I think you need to buy a really basic book and work through it. A C# book first, then a SQL one.
Christian Graus
Please read this if you don't understand the answer I've given you
"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've been searching google thoroughly and haven't yet found anything that does what I need it to do, so I thought I'd ask here. Most of what is out there is software to create (display) a barcode. I want to actually scan the code and convert it to something I can use against my product database.
I have a web application. I want to be able to have the user scan a barcode and then have the scanned code picked up and used by the website. I understand this will require an activeX control. A windows application is not an option. It also needs to support a variety of scanning devices as we don't know what our clients will use to scan the barcodes.
I am not opposed to purchasing a third party solution.
If you have ever done something like this please point me in the direction of example code or third party vendors.
Thanks
Broken Bokken
You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod
The story of your fighting is a poem of two words: YOU SUCK.
|
|
|
|
|
I haven't worked with any devices like that for many years but back then the devices actually convert the bar code to a byte sequence which is what they output. You would use the specification for the device to determine the format of the data. Then you have to read from the device using whatever connection it has to the PC. (COM port, USB, etc.)
led mike
|
|
|
|
|
After further searching I found that Microsoft has their own managed library that handles the device drivers. I think I will see if I can make it work in an activex control.
http://blogs.msdn.com/pointofservice/[^]
Broken Bokken
You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod
The story of your fighting is a poem of two words: YOU SUCK.
|
|
|
|
|
Hello All,
I am about to start a new web project and would like some advice on the best way to achive my goal.
I want to have a gridview control that displays database information. Lets say all customers from a customer table. Now say the database table (customer) is updated by another user, lets say an new customer is added. I want that new customer to be displayed to all other users with the page open. Without them having to refresh the page.
Can I do this using AJAX?
Can I fire an event when the data access layer method updates the database (say AddCustomer()), and then have each page listing for the update?
Is this possible?
Any help or a point in the right direction will be greatly appriciated.
Thank you in advance
Chris
|
|
|
|
|
chrisbaldwin51 wrote: Is this possible?
No. AJAX means your page sends messages to the server, you can do this by polling the server with AJAX, but you'll use a lot of network traffic, you can't fire a message from the server to the client.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Can I not hold the customer data object in the cache? Then have AJAX point to it, so when it is updated it filters over to all the pages?
If I where to add a clock using AJAX it would have to do regular checks with the server!
|
|
|
|
|
chrisbaldwin51 wrote: Can I not hold the customer data object in the cache?
What cache ? Do you know what AJAX is ?
chrisbaldwin51 wrote: Then have AJAX point to it, so when it is updated it filters over to all the pages?
AJAX doesn't point to anything, except the server it makes calls to.
chrisbaldwin51 wrote: If I where to add a clock using AJAX it would have to do regular checks with the server!
Correct. That is your only option.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
does any1 know of any open source forums apart from yaf?
thanks!
We are not a Code Charity
|
|
|
|