custom

Android: make a scrollable custom view

Hey, I've rolled my own custom view and can draw to the screen alright, but what I'd really like to do is set the measuredHeigh of the screen to, say, 1000px and let the user scroll on the Y axis, but I'm having problems doing this. Can anyone help? Here's some code: public class TestScreen extends Activity { CustomDrawableVi...

How to read the Web.Config file in a Custom Activity Designer in a WF4 Workflow Service

I have a WF service with a custom activity and a custom designer (WPF). I want to add a validation that will check for the presence of some value in the web.config file. At runtime I can overload void CacheMetadata(ActivityMetadata metadata) and thus I can do the validation happily there using System.Configuration.ConfigurationManager t...

Sharepoint Custom Workflow - Web Services

I've a custom workflow which query data off web services. It seems that when the web services returns a hyphen (-), I could not be able to store the data into list, and returned workflow error. The raw data looks like this: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xs...

ASP.NET MVC2 custom rolemanager (webconfig problem)

Structure of the web: SAMembershipProvider.cs namespace User.Membership { public class SAMembershipProvider : MembershipProvider { #region - Properties - private int NewPasswordLength { get; set; } private string ConnectionString { get; set; } //private MachineKeySection MachineKey { get; set...

Custom Document Library

Hello, I'm trying to create a Custom Document Library in Visual Studio 2008 and VSeWSS. The Document Library should have two custom coullums. One I have and the other one is killing me. The one I have holds a reference to a proyectId that I assing thru QueryString and the Event Handler. The one I need is a KeyWord Collumn, so when th...

IPhone UITableView Flexible CellHeight

Hello, i have a Problem getting the right height for my tablecell with a given string. Okay, here i am: I have a custom Tablecell with 3 Labels (3 Lines), the labels are autoresizing (Because of changing orientation) on viewWillAppear i load my data (i have to do it here, dont ask) and redraw the tableview but before i could know ho...

Lookups with multiple values are not showing porperly in sharepoint edit and display custom form

HELP! For some reason when I create a custom edit or display form, all the lookup fields are showing in a weird way or not showing any value at all, can someone explain to me how I am suppose to fix that, I know it has something to do where it say select="@value" in the display form. Please help me out. Thank you. ...

Designer serialization and collection

Hey There, I have an custom control that represents a grid; and implements another custom control. When opening this control in de designer, I am able to use the collection editor to set my collection. When saving; the designer successfully saves my collection. However, when dropping this control on a form; it still (and should) expose...

Custom Drawable for ProgressBar/ProgressDialog

Reading the limited documentation that goggle has provided, I get the feeling that it is possible to change the look (drawable) of a ProgressBar/ProgressDialog by simply creating a new style an assigning it to the style property of the ProgressBar. But I cannot get this to work properly. Here is what I did so far. I created a shape like...

jqGrid multi-checkbox custom edittype solution

For those of you trying to understand jqGrid custom edit types ... I created a multi-checkbox form element, and thought I'd share. This was built using version 3.6.4. If anyone has a more efficient solution, please pass it on. Within the colModel, the appropriate edit fields look like this: edittype:'custom' editoptions:{ custom_eleme...

Android: custom view onClickEvent with X & Y locations

Hi, I've got a custom view and I want to get the X and Y coordinates of a user click. I've found that I can only get the coordinates from the onTouchEvent and an onClickEvent won't fire if I have an onTouchEvent. Unfortunately the onTouchEventfires when the user drags the screen as well as clicking. I've tried to differentiate betwee...

How to create a custom listview in android

Hi All, I want to create a list view custom like this link : http://sites.google.com/site/androideyecontact/_/rsrc/1238086823282/Home/android-eye-contact-lite/eye_contact-list_view_3.png?height=420&amp;width=279 so far I have made a list view with text, and I am not extending list Activity, but I am extending Activity only. please i...

How to set a tint color for the section index of a UITableView?

Is there any way to customize the grey color of the alphabetic section index of a UITableView? ...

ASP.NET 3.5 Customize DataPager

I currently have paging done manually and I use this code to display it <div class="pages_numbers"> <ul> <li><a href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">&raquo; </a></li> </ul> </div> I want to use the DataPager control to do the paging for me, I've gotten the paging to work great, but I cant get the C...

Wordpress' post_time won't work with Custom PHP time difference calculator.

Hey guys, i'm using this script (http://snipplr.com/view/4912/relative-time/) to create relative times using PHP and timestamps stored in my database. I'm using the standard format for storing datetime (eg 2010-05-07 20:26:17) and it works fine with any timestamps i create. But for some reason when i try to use a timestamp stored in wor...

Alternative of custom attrbutes for tags to store some information in HTML 4

Hello All: Can some body tell me any alternative to store some information for a particular tag in HTML 4. For example If I have a drop down like <select> <option value="0" regionId="1">Test1</option> <option value="1" regionId="2">Test2</option> </select> Here regionId is a custom attribute, I am able to access the attribute but the...

Custom field question

Newbie Autodidact Question: When I use custom field key/value in loop to to filter output to a sidebar list, there is a long delay between posting the custom fielded page and its appearance on the blog. Why is this ? Here's a snippet of what I'm doing - whether it's proper or not I don't know... I'm sure the switch code is redundant.....

WCF Message Security implementation with custom attributes

How can i implement message security in WCF with custom attributes, One way of doing this by UserNamePasswordValidator which accepts user name and password but in my case I have to pass 2 more attribute that is company and region to authenticate the user. Please suggest the solution for achieving this. ...

Windows authetication with Silverlight custom binding.

Hello, I am trying to set up security within a web.config file for a WCF service hosted in IIS but keep getting the error message: Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service. I have read Nicholas Allen’s blog (link text) and it ...

How to add a button on outlook toolbar to a custom form?

Hi I have an Outlook form that I'd like to provide ready access to by adding a button or link to it on the outlook toolbar. How can I customize the toolbar to do this? Essentially, a single click of the button on the toolbar should bring up the custom form. This should work in Outlook 2003 and 2007 (preferably). If it only works in 2...