I start learning ASP.NET few days. I don't know why my computer hangs when I debug my very simple application? My computer hangs, not only IDE hangs? Please help me!
Can someone please direct me on how to do this type of setup, i.e. I have a Windows Server with ASP.NET pages and would like to pass those credentials using Integrated Windows Authentication to a Linux-based Oracle DB.
Pure Chat looked great but it was discontinued. Damn.
Any other great chat programs for ASP.NET? Looking for one that can be used in Operator Help mode.
Hello,
I'm on an asp.net page and I want to redirect to another page and then come back to the original page in the same spot to finish executing the original page. I heard that Server.Execute might work. My question is how can I accomplish this or can I accomplish this?
Hi All,
My application is in ASP.NET 2.0 with C#. I have a regular expression validator with the regular expression ^[0-9]*(\\,)?[0-9]?[0-9]?$, now my client don't want this validation at client side but on button click i.e. Server Side.
EX: I have to check the value of txtPrice textbox
Please let me know how can I put this regular expression validation on server side.
Thanks in advance.
I want to be able to find the old value of a asp.net control (textbox, checkbox etc) without relying on events (e.g. OnTextChange event). Something like "someTextboxControl.OldText" would be perfect! I imagine that it is stored in the viewstate and need to somehow get at it via a custom control. Any ideas?
I am building a custom CMS in ASP.NET MVC and one of the requirements is that the content has a start and end date that dictates whether or not the page appears on the site. What is the best approach to this? Should I run some sort of chron job to mark the status of the page according to its publish dates? Does anyone have any resources or advice on the matter?
Hi I have the following codes
$('#<%= btnOpen.ClientID %>').click(function() {
$('#content').modal();
});
<asp:Button ID="btnOpen" runat="server" Text="Open" />
When I click on the button, the modal window will appear for about 0.5 second and disappear right away.Can anyone help me please? Thanks a lot!
In my asp.net page i have java script calendar,on which i want the selected date & then that date has to passed to the code behind's method. How should it be done???
I have custom control with asp textbox inside.
And i need to Validate by RequiredFieldValidator my custom control on CLIENT side.
I added attribute to custom control class:
[ValidationProperty("Text")]
public class WatermarkTextBox : System.Web.UI.UserControl
{
}
It looks like working but it always make submit to server. How can i check it only on client side?
hi,
I developed a application using asp.net and uploaded the site in online it is working fine.
after few days i am getting parser error like this..........
"" this script is generating in every page in the bottom of the page in source code in the site. it is automatically generating.
when i remove it is work fine after few days it is again generating.
I am working on an ASP.NET MVC application where I need to export data to an excel spreadsheet. Previously, in webforms apps, I used some code I found to render a GridView as an excel-compatible file. This was quite handy. I was wondering what the quickest/most effective method would be to do this in MVC. Thanks.
Hi,
If i have two aspx pages in each of them i want to put differents silverlight contents (2 differents usercontol) what can i do?.. am i obliged to add 2 silverlight projects with my asp.net website and insert in each page an *.xap content..?
Thanks.
Hi,
Not sure if I'll explain this properly but here goes. I having written an asp.net app using C# for the code behind. After the user makes some selection and hits the "run" button I pass off the processing to a dll written in C# but what I want is a way to periodically send information back to the client so they can see what's going on like how many records have been processed and things like that. How can I accomplish this?
thanks
Hi All,
I have multiple letters in html format in a folder and im list those letters in the gridview on ASP.NET page if user select couple of letters and click print i should me those letters
Now Question is how to print multiple html files on the event of button click.
hi,
i developed a web application and it is working fine in local server. when i place the web application (copy paste the file of asp.net) in another local system it is working fine but the design of the page is (layout of the page) not as in the first server what could be the problem please help me.
Dear Friends
I want to get a word document from data base by ASP.Net and show it on Internet Explorer, then I want to edit some text and replace this document with the original one, exactly same as Sharepoint. I couldn't find any tutorial or example for this situation. could you please help me?
Shahrooz
Hello,
I have two comma seperated lists:-
36,189,47,183,65,50
65, 50, 189, 47
the question is how to compare the two in classic ASP in order to identify and return any values that exist in list 1 but that don't exist in list 2 bearing in mind that associative arrays aren't available.
e.g. in the above example I would need the return value to be 36,183
Thanks
Switching aged 2003 SRV to 2008 caused my Asp.net 2 application fail: The application is no more loading the required library DLL from /bin/ folder anymore.
What should I change in my code or web.config to make this webapp load OK also in new 2008 server?
Now I receive this error when I access the application: This type is in IMPORTS ( Dll ).
Compiler Error Message: BC30002: Type
'Facebook.Entity.User' is not defined.
<script ID="clientEventHandlersVBS" LANGUAGE="vbscript">
s=pass()
y=s
</script>
<%
session("password")=y
Response.write(session("password"))
Response.write(y)
%>
i have this code. but nothing is getting stored inside the session variable neither anything is getting printed. cant i access the variables declared outside the asp code or is their any syntax mistake. any help is really appreciated
What is ViewState in the Asp.net.How Viewstate crashes in the browser.what is the solution when Viewstate crash?in my code when i peak pk_id from view state then it's for some time and not work sometime also.