61.
Div positioning problem
Found the solution myself. Just add a width and height to the content div, and then add overflow: auto.
|
DominicZA
|
Updated: 4 Apr 2012
Rating:
( (No votes))
|
|
62.
Div positioning problem
I have a slight issue. I have 2 divs within a content div, and they are both floated left. This works really well on my laptop with its high resolution, but when I test with lower resolutions the div on the right drops below. Is there a way to just make a scroll bar appear and not let the second...
|
DominicZA
|
Updated: 4 Apr 2012
Rating:
( (No votes))
|
|
63.
jQuery event not firing in IE9
I have a div that I populate with a table. The actual code for the table is create from a webservice and then loaded into the div using Ajax. I then have a function that looks like this:$('.myTableRowClass').live('click', function() { alert('I was clicked');});This works fine...
|
DominicZA
|
Updated: 3 Apr 2012
Rating: 4.00/5
( (1 vote))
|
|
64.
Decode packet with SharpPcap
Hi,I am using the SharpPcap library to sniff packets on a particular device. I have never really worked with raw sockets before and am a bit confused. I am capturing the packets fine, but now I want to decode the packet data into a string that is readable. Basically, what I want to achieve...
|
DominicZA
|
Updated: 3 Apr 2012
Rating:
( (No votes))
|
|
65.
how to access a string variable in the code behind into javascript
In your code behind:protected string MyString = "This is my string";Then, in your HTML page:function GetMyString() { return }You can obviously put the snippet where ever you want to use that string. Hoe this helps!
|
DominicZA
|
Updated: 3 Apr 2012
Rating: 5.00/5
( (1 vote))
|
|
66.
how to manage phone no. format
Create a Javascript function to do this and call it on the onkeyup event of the textbox.
|
DominicZA
|
Updated: 28 Mar 2012
Rating:
( (No votes))
|
|
67.
Div Position is behind another div in chrome
In they style attribute of the div, set its z-index higher than the div that is below it. Have a look at the link below:http://www.w3schools.com/cssref/pr_pos_z-index.asp[^]
|
DominicZA
|
Updated: 28 Mar 2012
Rating:
( (No votes))
|
|
68.
Open PDF in browser from database
Hi have the bytes of my PDF stored in my database. I have a generic file handler(ashx) in my ASP.Net website. My current code works, but downloads the PDF. How can I open a new window and display it. Here is my current code:using (DataContext fdData = new DataContext()) { ...
|
DominicZA
|
Updated: 28 Mar 2012
Rating:
( (No votes))
|
|
69.
Efficient way to append binary data
Hi, I am creating a file uploader and I have a question to ask regarding performance. I am using the Entity framework to access the database. In my database I have a table called Files. The most important field here is the BinaryData field, which is varbinary max. I send parts of the file to...
|
DominicZA
|
Updated: 27 Mar 2012
Rating:
( (No votes))
|
|
70.
HTML Input file. How do you get the file?
So I have an HTML input of type file. I want to fire a method that posts the file to my ASMX web service using Ajax. I honestly have Googled and have no idea what to do. Here is what I have: function Upload() { //Post data here ...
|
DominicZA
|
Updated: 26 Mar 2012
Rating:
( (No votes))
|
|
71.
Master Page problems
Have a look at the following article. It shows you how to access the MasterPage from content pages:http://msdn.microsoft.com/en-us/library/c8y19k6h.aspx[^]
|
DominicZA
|
Updated: 21 Mar 2012
Rating: 2.00/5
( (1 vote))
|
|
72.
window.location.href without append
If you put:window.location.href = '/myValue'it will append. If you say:window.location.href = 'http://myValue'it will then go to that page and not append the url.
|
DominicZA
|
Updated: 19 Mar 2012
Rating: 5.00/5
( (1 vote))
|
|
73.
Launching a browser like an app
Try using a web browser control in a win forms application. http://msdn.microsoft.com/en-us/library/aa752041(v=vs.85).aspx[^]Thats the best you gonna get!
|
DominicZA
|
Updated: 19 Mar 2012
Rating: 1.00/5
( (1 vote))
|
|
74.
how to decompiled the precompiled website
Try Telerik's free decompiler. It can be found in the link below"http://www.telerik.com/products/free-decompiling-adwords.aspx?gclid=CIypvs_c8q4CFYwMtAodlwHfJw[^]
|
DominicZA
|
Updated: 19 Mar 2012
Rating:
( (No votes))
|
|
75.
Validate XML against xsd
I would recommend starting here:http://msdn.microsoft.com/en-us/library/system.xml.xmlvalidatingreader.aspx[^]and then look here :http://support.microsoft.com/kb/307379[^]
|
DominicZA
|
Updated: 16 Mar 2012
Rating:
( (No votes))
|
|
76.
Please Can any one help me for Blog Development for an organisation like school
Start here and read the documentation:http://www.dotnetblogengine.net/[^]
|
DominicZA
|
Updated: 16 Mar 2012
Rating:
( (No votes))
|
|
77.
how to make parameterized properties in c#
here is an example found in MSDN:public WebSite this[int index]{ get { if (index > sites.Count) return (WebSite)null; return (WebSite) sites.GetByIndex(index); } set { if ( index
|
DominicZA
|
Updated: 16 Mar 2012
Rating: 5.00/5
( (1 vote))
|
|
78.
out of memory error in silverlight
Look at using a buffer to load it in in smaller batches. Have a look at the following tutorial:http://zombiebob.blogspot.com/2010/08/large-file-upload-in-silverlight.html[^]Hope this helps.Update: Ok, so you have a varbinary(max) field in your DB. Create a function that appends data...
|
DominicZA
|
Updated: 15 Mar 2012
Rating:
( (No votes))
|
|
79.
inheritance in oops
Child obviously inherits from Parent, thus giving it all the its properties.http://msdn.microsoft.com/en-us/library/ms173149(v=vs.80).aspx[^]
|
DominicZA
|
Updated: 15 Mar 2012
Rating:
( (No votes))
|
|
80.
Sorting div's like in SQL
Hi,I have a small request. I am making a little user management section in an application for a client. They want to be able to drag and drop a user onto a group. The drag and drop I have done, and I update the database with Ajax so its smooth and the user only sees a loading bar for a...
|
DominicZA
|
Updated: 15 Mar 2012
Rating:
( (No votes))
|