|
rummer wrote: CheckBox chk = (CheckBox)page.FindControl("chk0");
it showing null
Have you given runat="server" to the checkbox you are trying to use? If it's a html checkbox then you need to give runat="server" and then caste it into HtmlCheckbox instead of just Checkbox.
If this does not resolves it then post your aspx page where you have this checkbox.
|
|
|
|
|
I wish to do an ecommerce site in which I am only going to include paypal payout functionality.
and I dont wish to add credit card processing.
Is this a serious problem to an ecommerce site, that I am using only paypal payout?
|
|
|
|
|
Gjm wrote: Is this a serious problem to an ecommerce site
Serious problem? difficult to say. It's about how flexible you are making your website for users. It's about user preference. So we cannot use term serious here instead it should be little 'limited'.
|
|
|
|
|
hi iam using asp.net with c#
i want to check through coding is procedure already exists in database or not
can you give example which helps me
|
|
|
|
|
IF EXISTS(SELECT name FROM sysobjects WHERE name = 'yourspname' AND type = 'P')
DROP PROCEDURE yourspname
CREATE PROCUEDURE
.
.
.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Hi,
I am wondering, how I can enforce a http response code with Routing ? I am using ASP.NET Web Form 4.0.
So far I understand, routes are using Http code 200 all the time. Can I override this code ever ? Or, if I place http status code response in my Page's Init or Load event, will that override that '200 ok' ?
For example, I have the following route,
routes.MapPageRoute("404", "{*url}", "~/Page-Not-Found.aspx");
I want to issue Http code 404 for this routing instead of 200.
Please help.
|
|
|
|
|
Hi,
i am facing a problem in ajax calendar extender, when i want to select a date in MAY 2010 i find all the days are the same "29" i dont know why, and when i try to go to May 2009 i cant find that month in the calendar, other than that everything is working just perfect, is there something wrong with that month?
this happens in all the computers in the company i work.
|
|
|
|
|
Edward Topalian wrote: this happens in all the computers in the company i work.
Clearly there is some issue with your codebase only. It's not a known issue nor a small one that could be hidden. I would suggest you to go through your code and look what's wrong. You can refer the AJAX Calendar Extendar[^] example if needed.
|
|
|
|
|
Hi
i'd like to create a web project using MVC and Oracle 10g.
Any step by step code sample? Or suggestions ?
I'm a beginner about this technology
Thanks in advance for any information you'll provide to me
Max
|
|
|
|
|
Go through of microsoft official site. There is many Videos are available.
http://www.asp.net/mvc[^]
Thanks
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
MVC is not connected to an particular database.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi
I am really scratching my headache around on this one!
At the moment I am undertaking a Proof of Concept project, and on a page I am loading an Xml Document, this xml document needs to be saved into a viewstate so, I have written aftering loading up the xml document:
this.ViewState["tempDoc"] = xmlDoc;
The load of the xml document happens by the user clicking a button.
Now, I am not getting any errors at this stage. On the next page I have used:
protected override void LoadViewState(object savedState)
{
base.LoadViewState(savedState);
}
The problem being is that on this page I have no ViewState data! Even just calling the ViewState on the same page where I set it gives me the same problem. I have even tried setting simple data types like numbers and I am getting the same problem.
What is going on???!!!
The funny thing is though, I am not getting the problem with Session, but for this project, I can't use Session.
Any ideas?????????????
|
|
|
|
|
|
Hi
I have tried it on the same page, but still got the same problem.
My little test was on button click to set the ViewState but redirect to the same page. So, I am very unclear on how to solve this one!!! I really do need some help!!!
|
|
|
|
|
viewstate available only in same page and on post back means when you click any button then it's data will be available but if you will redirect to same page or another page on click of button no viewstate data will be available.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Obviously you need to ensure ViewState is enable at the page level, but also make sure it hasn't been explicitly disabled in the web.config, or the machine.config.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I developed a c#.net windows application and successfully deployed it. But while taking reports i am getting the error message "Load Report Failed". The same works in Visual Studio code. After making it EXE what happens??. Do i have to include the crystal reports seperately while deploying.....??
|
|
|
|
|
You should have posted it in the C# forum[^].
sudheesh kumar s wrote: After making it EXE what happens??. Do i have to include the crystal reports seperately while deploying.....??
Are you deploying it on a different machine?You must also deploy Crystal Components.
Edit: Added C# forum link.
..Go Green..
modified on Friday, June 18, 2010 8:48 AM
|
|
|
|
|
Ankurm/ wrote: You must also deploy Crystal Components.
The required assemblies should be included in the setup. When a managed application starts the framework will check the manifest for all required assemblies and version and fail to start if any are missing.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I know that.
I assumed that he has just copy pasted the .exe on other system. My assumption sounds weird but I have seen many such cases.
..Go Green..
modified on Friday, June 18, 2010 8:49 AM
|
|
|
|
|
Do you need to update connection strings perhaps? Have you included some logging to help you track what is happening in the release?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
You just to need same path for rpt as it appear at run time means
if you created a Reports folder in debug or bin folder and put all reports in that report folder then
|
|
|
|
|
ummm i would hate to state the obvious but is your report embeded in your application or is the path hard coded.
If the path is hard coded, tisk tisk, then you need to make sure that the other machine can access that path.
If the report is embeded, check the connection string settings.
If at first you don't succeed ... post it on The Code Project and Pray.
|
|
|
|
|
hi,
need to update sq l server data base ,on user explicitly closes window instead of log-out .
please suggest me better way to solve my problem
modified on Friday, June 18, 2010 7:13 AM
|
|
|
|
|
You can handle body's unload event and use AJAX to perform server side operations like updating database.
This link may help you: Handle Browser Close Event on the Server-Side[^].
Hope it helps!
..Go Green..
modified on Friday, June 18, 2010 8:29 AM
|
|
|
|