c# / .Net 3.5
I have a page with a number of user controls on it. I have an issue with one that is programmatically generated.
The Control is created on the Master Pages OnInit() event.
When it is created it creates a number of LinkButtons. Clicking on one of these linkbuttons causes a...
(Using Eclipse)
I have been chasing an issue round for a few hours now around one of my unit tests.
If within test/fixtures I have a file foos.yml
shop:
openingTIme: <%= Time.utc(2009,"Oct",15,09,30,00).to_s(:db) %>
It always creates an item with the correct time, but a date of...
HI.
Ive got a simple MySql Table with a number of Time fields in it.
Ive also created a simple class (based on ActiveRecord) that relates to that table.
in console, if I look at an object of my class (i.e. foo = Class.first) I get the date/Times displayed, but not the Time fields. These all...
Hi, Ive been coopted onto a distributed team using Ruby on rails, starting next week.
My first task is to look into how we can 'bootstrap' a standard database into our code, so that all the developers are writing / testing against a standard set of sample data.
Ive been reading a few books /...
ok, I suspect that this is down to my approach rather than my css, and I may need to restructure my printer output to be in tables, but before I do that I want to check :)
I have css / html that renders perfectly on screen. However, when it prints, on all pages after the first one, my...
I have a Database Table that defines a Product.
Each Product has 3 Different Options, each of which is actually a set of items in a different table, referred to by a foreign key.
eg, Colours this item is available in, Sizes it is available in, Accessories that may be supplied.
I now have a...
I have some hierarchical data in a table. Linked via Parent Id's
eg.
pKey, Name, DisplayOrder, parentId
i.e.
1, 'Top Level',0,0
2, 'Tier Level',1,1
3, 'Sub Item 1',1,2
4, 'Sub Item 2',2,2
5, 'Tier Level',2,1
6, 'Sub Item 3',1,5
7, 'Sub Item 4',2,5
Some of the pages of my website can...
Hi, Im getting the error;
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback...
I have an existing Database with 2 tables represented as follows
table productCategories
pKey, Description, DisplayOrder, ... (other fields elided)
table productCategoryRelationships
parentKey, childKey
The aim of these tables is to allow a category to have sub categories on a 0 to many...
I have a folder in my Application that I wish to allow file uploads to.
I know that my code can see the file as my application can browse to this folder and display the images located there.
If I try to upload I get the "You do not have permission" error message.
I have added the Everyone...
On an old site Ive got a Com component from a 3rd party that allows me to save various image types to the hard disk (as well as doing other things).
Having upgraded the whole site to asp.net 2.0 the site gets to where the component is invoked, and throws up an error
"The application attempted...
It seems that this week its all SQL issues.
I would like some help / input as to best practice here.
Ive been asked to scope a new application for handling various documents / orders and so on in one of our warehouses.
The plan is that at each stage where a signature is required to use some...
SqlEnterprise Manager Version 8 (if it makes any difference)
I have a sporadic issue where all my applications that rely on the Sql Database fail, and report errors along the lines of ""
I have poked around in Enterprise manager but I cant see any obvious way of finding out what has caused...
Im trying to update a page for an old website buit in .net 1.1
In the old site, I can access a Placeholder simply by typing
PlaceHolder p = (PlaceHolder)FindControl("CorrectPlaceholder");
However, on the new site, this doesnt work, and the FindControl() method returns null.
If I look into...
I have a div on the page. The intent is to have a question on the left hand side, and occupying most of the space. There is also a little prompt icon for more help, that should appear at the top right of the div.
the code is
<div style="width:700px;">
<div class="Question">
<asp:Label...
I have inherited a php site, which I'll admit is not something I know much about.
I can understand most of what is present, but I have been asked if I can put a drop down list in with different countries in it (Done that bit).
Now, on selecting a country and pressing an ok button, I need to...
I have some css
.Section {border-bottom:thin solid;font-size:smaller;font-weight:bold;font-family:verdana;}
.SectionNumber {width:3%;float:left;text-align:right;border-right:2px solid;border-bottom:1px solid;}
.SectionPadding {border-right:2px solid;width:1%;float:left}
.SectionTitle...
My current code is like this;
class foo
{
public delegate object delegateMethodType(string s);
public delegateMethodType MethodToExecute;
public object DoWork(string s)
{
MethodToExecute(s);
...
...
}
}
class bar
{
foo f = new foo();
f.MethodToExecute = SomeMethod...
Ive been asked to investigate why a customers system doesnt work (.net 2005), and eventually I have found the issue.
The system is a subset of a big enterprise solution, concerned with messaging.
The objects are passed about via MSMQ, using Binary Serialisation, and the objects were created...
Ive Added in the Office XP Web Services Toolkit, and written some sample code to access my webservices.
So long as Im calling a webservice that returns some simple data, such as a string, it all works fine.
As soon as I change it to call a WebService that returns a more complex type, I get an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.