I used Server side code for HIDE a DIV. but when i click button tool for another event but DIV is always open. I use ASP.net c# code.
how i solve this problem
thanks
For example I have class to serialize
[Serializable]
class Person
{
[XmlAttribute("name")]
string Name {get;set;}
}
I need to make Name attribute required. How to do this in .NET?
I have a base32 string which I need to convert to a byte array. And I'm having trouble finding a conversion method in the .net framework. I can find methods for base64 but not for base32.
Convert.FromBase64String – something like this for base32 would be perfect.
Is there such a method in the framework or do I have to roll my own?
I currently developing a website, where i allow the users to upload an image and display it on the same page the moment it gets uploaded fully. How can I do this. I am developing the site on asp.net (C# & webforms).
I have a asp htmleditor where the user will enter any text or a message...is there any javascript to save the message every 5 seconds as drafts in vb.net .
Hi
I have an asp.net page which launches a child page in another browser window to look like a popup.
I want to pass 2 pieces of data to it from the parent page.
I know ots possible with javascript, but is there a way to do it using C#?
thanks again
I've been hearing these two words used in Microsoft tutorials for VB.NET. What is the difference between these two words when used in reference to variables?
I'm using simple code:
import urllib2
response = urllib2.urlopen("http://www.mysite.com/getfile/4355")
output = open('myfile.zip','wb')
output.write(response.read())
output.close()
The web-server is IIS + ASP.NET MVC 4
It returns FileResult wrapping a zip-file with "application/octet-stream" content-type.
The problem is that downloaded zip file is broken - only 4.1kB size, where it must be 24kB. When I type the url adress in web-browser directly - it downloads and opens fine.
Could you please, suggest, what's wrong with my Python code?
I've got a series of Excel spreadsheets, each with at least one page of data and one page of a chart created from the data. I need to capture ( not regenerate from the data ) the existing chart as a web friendly image. Is this possible via Java or .Net? I know the POI stuff (Java) won't do it (or so I'm told, haven't tried it myself).
hi guys, i have been writing a music website for my customer using ASP.NET. Everything has been cool except I don't know how to prevent the users from downloadng the song which is being played. For example, I click "Heal the world" to play and while the song is playing, I dont't want the IDM download manager or other download programs appear the download dialog
I have a grid-view having details of customers,now I want to print cheques for all customers of the grid with single click of button instead of clicking individual print button for each and every customer.I want to implement this in asp.net MVC 1.0.Please temme hw should i proceed for this..Is iTextSharp will do any help to me or there is any other such pdf libraries which will help me to accomplish my task.
And especially are there .NET libraries available for the purpose? Two hours of Google searches have turned up nothing so I'm not optimistic, but ...
The big question: is it even possible to use ZModem over USB?
TIA.
Does those calculators have some type of a processor like a computer? Is it possible to program to them? And finally, is it somehow possible to run the .NET Micro Framework on it?
Thank you.
My Boss have given me assignment to find how a web based application developed in dot net can be protected. As per agreement products developed in our company are asset of company and even not developers can gave the code. But still he wants to know how he can protect products in case a developer theft code and try to launch it from his home ?
Please guide how this can be controlled.
Is it possible to register a .NET component during the installation of a VB6 app?
Is it also possible to grant security (eg. via CAPSOL) as part of an installation package?
hi,
I do also want to know how can i Display Text on Pole Display.
I write the code with VB.net 2008.
Sample Code that i write is :
If SerialPort1.IsOpen = False Then SerialPort1.Open()
SerialPort1.Write("\r\n" & RichTextBox1.Text & vbCr, 0, RichTextBox1.TextLength)
System.Threading.Thread.Sleep(1000)
If SerialPort1.IsOpen = True Then SerialPort1.Close()
I got no errors but can't display on Pole Display.
Please help me.
Regards,
Nway Nge
Hi All, i am tearing my hair out.
I have read every post on the internet and cannot for the life of me figure out HOW to force IIS 7.0 on 2008 to display detailed errors.
I have published a .net 4.0 app.
i am at a complete loss. thanks!
In .net objects like DataTable when you have two grids(Master and Detail) and add a row to the second one(Detail), The new row will have the Foreign-Key Values automatically.
How can i do it(I don't use DataTables because they suck)?
thanks.
I have constants in my cs file Constants.cs. In the asp.net mvc controllers I use the constants like this ViewData[Constants.Whatever] = ...;
How can I use the constants in my aspx file? When I try to use it I get an error saying:
CS0103: The name 'Constants' does not exist in the current context
I am currently in the process of setting up ndepend report generation as part of Continuous Integration build process using CruiseControl.Net, I have followed the instructions outlined in ThoughtWorks Website.
The ndepend tasks runs fine and the reports are generated correctly but when I goto the dashboard and try to bring up the ndepend reports, nothing comes up (it displays blank). Does the cruisecontrol dashboard application expects the ndepend report in a particular file under the working folder or the artifact folder ?
I'm using Crystal Report with VB.NET in Visual Studio 2005.
I have report that works if I pass in a list of List(Of Stuff). I had been sorting the report by one of the members of Stuff but a need now to sort first by one member, like Stuff.StatusCode and then by another member, like Stuff.ItemNumber.
Can I do this just be having more than one SortField member, or do I need to do it some other way?
Thanks as always!
i have a winsock component made with vb.net in a class library that has events.
how do i make it appear in tool box if i reference the dll in another project.?
How do i use it in my c# program?
thanks
I'm developing a CMS aplication in ASP .Net using WebForms and I'm looking for a way to create new PDF files based on a template.
This feature will be used to generate contracts where some placeholders will be replaced with the customer data.
What's the best approach to do that?
I have checked the following article on how to use the sqlMembershipProvider. My doubt, is this the way most of the asp.net applications authentication schemes implemented.
Is there any other method, any references will be quite helpful for me.
I need to provide a feature such that the user is able to upload a csv file.Once the uploading is done I need to retrieve each value and show it on a grid which is implemented using far point(http://www.fpoint.com/products/spread/spread.aspx).But all this has to be done without the page being refreshed.I use asp.net 2.0 & Ajax Pro.Remember I cannot use the inbuilt AJAX feature provided by microsoft .To be precise I need something similar to the lines of attaching a file using gmail.
Thanks & Regards
Bikram