custom

Best method for connecting to sustom XML web service in ASP.NET?

What is the best way to work with/consume custom XML web services in ASP.NET? The web service in question was developed quite a few years ago. It works by POST'ing the XML to a specific web page and then responding with more XML. Run of the mill design, but it doesn't follow any SOAP standards. It follows a strict schema though. Wha...

How to Show Custom options on Homepage

Hi i want to display product and its custom options like size, colour on home page. how should i do that? i want to allow my customer to add product directly from home page by providing its custom options value. is their any way to do this? Thanks Magento Developer ...

custom header issue in forwarding/replying mails

Sir,i have sent a mail by adding custom header by using .net aaplication like this myCH.Add("X_Company", "MCL"); myCH.Add("X_ID", "A1000"); myCH.Add("X-Y: Z", "ganesh"); myCH.Add("X-Original-ID", "123"); myCH.Add("X-Origin-ID", "12356"); but ,when i am from netscape browswer,forwarding this mail or replying to anyone then it has no tha...

iPhone UITableView PlainStyle with custom background image - done "entirely" in code.

Hi I have been all over the place, seems the UITableView with a static background issue is well documented, but no one with a straight forward solution? Im building my TableViews entirely in code, like this: UIViewController *tableViewController = [[TableViewController alloc] init]; navigationController = [[UINavigationController a...

Customize Flex3 datagrid drag

Hello, I have a flex data grid with multiple selection set to true. If I try to drag let say 10 rows, then all those 10 rows move along with the mouse cursor and it looks really annoying. I don't want to show any text when user is dragging the rows. I want the user to see only red and green images on the cursor which indicates whether...

iPhone app - some custom UITableViewCell questions

Hi, At the moment, I have a settings view in my iPhone app built with Interface builder, it consists of a background image, some text fields, labels and buttons. Because this looks bad, I want to convert the settings view to an UITableView with custom UITableViewCells. I already tried adding some cells into my settings view's XIB and r...

ActiveRecord custom insert/update query

I'm using PostGis to store some spatial data. I used ActiveRecord to retrive data from db, and I used [Property (Formula = "asbinary(shape)")] on property where geometry was stored (property type was byte[]). However this doesn't work when inserting data. So I figured out to write custom insert (and update) queries to solve the problem. ...

Sharepoint Document Upload Page - Passing URL Variables?

Throughout my SharePoint site, I have several document repositories that are tied to primary keys from an external database. I have added custom columns in the document library metadata fields so that we will know which SharePoint documents correspond with which table entries. As a requirement, we need to have document uploads that hav...

ASP.NET Server Control based on RadComboBox - Postback issue

I am trying to create a custom control that extends the RadComboBox from Telerik to create a Dropdown Checkbox List with default templates. The plan is to use the control in several places so I wanted to consolidate all of the logic in one spot. However I am experiencing a couple of weird issues on postback. If you check a couple of i...

Custom Satchmo Store Configuration / Process

Hello. I want to create an order form to buy multiple things in this sort of structure: Business Data 1 ---Product A ---Product B Business Data 2 ---Product A That is, I want to sell products A,B, but before this is done I need additional aggregate data to be in the 'Business Data' object. That is: Business 1: Joe's Plumbing, locate...

MySQL custom engine: already existing data.

I'm currently exploring if a custom MySQL engine could fulfill my needs. I've been looking at http://forge.mysql.com/wiki/MySQL_Internals_Custom_Engine. One thing I wonder is: can I create an engine using an already existing (binary) file? If yes, I guess(?) there is no "CREATE TABLE..." so, how does MySQL know about this table? EDITED...

hibernate post initialization

I would like to initialize class members of a persisted object as soon as Hibernate loads the object from the database. How can I do this ? More specifically: In the following persisted object, I would like to initialize date's timezone class Schedule { Calendar date TimeZone tz; } I cant do this in the constructor becaus...

Setting the version number in an NCBI c++ toolkit app

How can I set the version number in a NCBI C++ Toolkit Application? I mean the version number which is displayed when I start my program with the parameter -version. I read through the docs, but have not found it yet. (I know this is a highly specific question, but I figured it was worth a try) ...

Custom Collection extends List<T> Add method

I want to create a custom collection and add my own custom Add method. Scenario: Teacher.Students.Add(Student s) I want to put LINQ methods to save the teacher/student relationship to the database, not just add it to the list. How can I do that? How can I know what "Teacher" object this is? ...

C# Custom Events with Overloads

So I have a custom event like this: Work w = new worker() w.newStatus += new worker.status(addStatus); w.doWork(); void addStatus(string status) { MessageBox.Show(status); } and this: public event status newStatus; public delegate void status(string status); public void doWork() { ...

How to create button without icon in CKEditor

When I create toolbar button in CKEditor 3.0 with following code I need to uncomment icon property to get button visible. Otherwise space is occupied but no label is shown. When I hover over it I get caption popping up. editor.ui.addButton('customButton', { label: 'Custom Action', //icon: this.path + 'ima...

Custom-designed Shell doesn't work on Windows 7

Hi everyone. We have a Server/Client cybercafe management application which used to work fine on Windows XP and Vista but now fails to run on Windows 7. The Client was supposed to get 'Locked' on Client PCs of the Cybercafe, meaning it replaced Windows Explorer by changing the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windo...

Custom malloc() implementation header design

I am trying to write a custom allocator for debugging purposes (as an exercise) in C, where I will be using a single linked list to hold together the free list of memory using the First Fit Algorithm. I've shown below the structure I would like to create in an "Empty Memory Node". How do I write the header block (a union to be specific)...

iphone - Get dynamically created UITextField by tag

I add a UITextField to a table cell dynamically in my app. I'd like to implement a "backgroundClick" method to dismiss the keyboard if the user presses outside the textfield (and outside the keyboard) but I'm unsure how to get a handle on the active keyboard in the backgroundClick method as the dynamic UITextField does not have a defined...

C# web service ... return nested custom objects.

I've started developing a new web service in VS2005. There is only one method: [WebMethod] [XmlInclude(typeof(Person))] public PersonAction GetAction() { PersonAction action = new PersonAction(); return action; } where PersonAction class contains a field with a reference to a Person class [Serializable] public ...