Hi,
I am a ASP.NET 3.5 web developer using VS 2008. I just started at a new company and there are alot of Web Designers here (never worked with Web Designers before). They all use Dreamweaver CS3 and PhotoShop (something i know nothing about).
What I would like to know is the following:
Would they have problems opening my ASP.NET pag...
i have one page to design. in this it includes an , password text box,
My requirment is that when an user hit the submit button without entering any data, then it shows a message in red color at side of both the text box as "Cannot be empty"
How it can be done without using Javascript?
...
We're hiring a .NET developer soon, and I was assigned to create a test, which would take aprox: 1h to solve. A test which would test the programmers knowledge in (mainly) C# and ASP.NET.
This is what i've come up with so far:
Use project #1 to read data(HTML) from the specified URL and output all links(anchors) containing anchor name...
What would be the best way to properly concatenate string with an url inside? Can it be okay with this?
String.Format("This is the link: <a href={0}>{1}</a>", somevalue1, somevalue2)
Or it probably leaves open door for injection attacks?
So how would I insert a hyperlink within a string?
I guess I could do with HyperLink class, but ...
I have an application which is making use of the RSACryptoServiceProvider to decrypt some data using a known private key (stored in a variable).
When the IIS Application Pool is configured to use Network Service, everything runs fine.
However, when we configure the IIS Application Pool to run the code under a different Identity, we g...
Hi I am looking for some good collection of examples on AJAX in ASp.Net. Please share some excellent links. Also if you think there is a good resource which can help me learning - please share it. Thanks
...
Can anyone help me with this error?
full image here
It happens usually once a day when trying to load any one of a number of custom asp.net pages in my sharepoint web site. If I recycle my application pool the error disappears (usually for the day).
So far this is what I’ve tried to eliminate the error (which has helped reduce the ...
Any body have idea how to put controls dynamically in asp.net 3.5 ?
if any example please provide to me.
another Question : is it possible to create Event for Dynamic Controls ?
...
hi.......
I have used a TreeView control in my web form.On rightclicking the nodes of this Treeview, I am getting a popup menu.The menu provides options for adding further nodes and deleting existing ones . My problem is that i am not able to add futher nodes to the TreeView. The informations related to the new node (ie its name , id...
Hi All
I have an ASP.NET Gridview with a BoundField that is bound to a decimal value. I use the following code to format the decimal number to a currency value:
DataFormatString="{0:C}"
We have a custom implementation of NumberFormatInfo though, which removes the currency symbol and modifies the thousands seperator. Normally this for...
NHibernate Version: 2.1
I'm using what seems to be a pretty standard HttpModule approach to implementing per-request sessions in an ASP.NET+NHibernate application. I'm trying to leverage WebSessionContext, but it doesn't seem to be working correctly. Specifically, everything works brilliantly for the first request on the application, bu...
I have a drop-down list inside a user control (ASCX) that I want to validate from the page on which I've placed the ASCX, but when I set the ControlToValidate to the drop-down list the page complains that it can't be found. Thanks for any help/suggestions.
...
Hi there I am writing a piece of code where I want to make sure that the code is onle executed on the machine in which OS is WindowsXPSP2 or greater. I have got OS version of the OS ex- 5.1,5.2 and so on.
I just want to know how can I make sure that the OS is either WindowsXPSP2 or greater?
Can I check it with version number > 5.1?
...
I am using form authentication inmy ASP.NET 2.0 website. Today during testing i was faced major probleM.
After authentication, i have default page createuser.aspx. From that page i am creating new user.It is working fine.
There is logout button in which i am clearing all sessions and redirecting it in login page. All was working fine.
...
hi,
We need to stop copy paste of few characters like '<' or '>' or any characters which can be potentially dangerous.
I know we can set a property RequestValidation to false, but for some reason we would not want to do that.
What we want to do is when the user tries to paste a text in the textbox, we want to validate the text and do...
it's assembler right? can someone please point out the progression that we've had in programming languages since assembler to the days of asp.net, namely the chronological order of languages?
...
I thought I was clever to switch from the memory intensive DataView to SortedDictionary as a memory efficient sortable data structure. Now I have no idea how get the key and value out of the datasource in the <%# or Eval() expressions.
SortedDictionary<int, string> data = RetrieveNames();
rCurrentTeam.DataSource = data;
rCurrentTeam.Da...
Hi,
Is it possible to have one .NET MVC application, and have it accessible from different domains, in such a way that the content will be domain-dependant?
For example, both www(dot)site1(dot)com and www(dot)site2(dot)com will point to my server's IP, and to the same website in IIS. In that website my .NET MVC application will reside....
I have a paged gridview. I want to get the text of every row and put that text into an array. However, I only get the text for the visible rows, not the entire dataset. I can't just get the data from the datasource because the gridview is populated by two different databases. How could I get every row's text - visible or not visible? I'm...
I just start learning to write web services yesterday, kinda fascinating. I created an XML web service, i most program on my Linux box, I want to use the java language or some other language to access this web service. Can you direct me to any tutorial that show how to access the .net web services from another programming language.
...