custom

If I override UIAlertView (to show the progress bar, no dismiss), will it be rejected?

I just used UIAlertView to show "loading..." with a progress bar showing how much data my app is loading so far. And as the HIG says, I'm doubt Apple reviewers will approve that action. Since the alert is not supposed to "alert" users when things are going on normally. So, if I override it with a custom background, would the Apple revie...

ASP:RadioButtonList Databind Custom Object

Hey guys, I'm having a bit of trouble with my ASP:RadioButtonList, searched Google and SO, no luck, can you help me out? I'm having trouble databinding. I've got a custom class that looks like this: public class myClass{ public myInnerClass{ public int myID; public String myTextField; /* other fields*/ } public List<m...

Creating default style for custom control

Hey Im currently creating a custom control (based on the WPF DataGrid). What i would like to do is to set default styling on the datagrid. Currently im setting the Style property which works. But my problem arrises when i create a style to change fx. the background color in the main applications app.xaml. Then all my "default" styling i...

Opening a file in custom viewer on double clicking the file

I have created a viewer component which helps in viewing a file that is encrypted. I have created an installer which associates my custom extension(.abc) with the viewer application. Now, when I double click the file, the viewer app launches but the data doesn't get displayed. I know I have to write code to get this done. But I am not su...

How to register a certificate to a port when the cert is in a custom location using netsh

My certificate is stored in a custom store under "Certificates(Local Computer)" instead of under "Personal". Normally, if the cert is located under personal, i just use C:>netsh http add sslcert ipport:0.0.0.0: certhash= appid= certstorename=MY where, certstorename=MY is already assumed by default if not specified. This works fine unt...

RegisterExpandoAttribute with Update Panels

I am having some issues with a custom validator that I have setup. The validator is now in a control which is in an update panel, in another control, in a page. The first time the page loads the validator works perfectly, after a partial update (in the update panel), the validation will not work. The problem is that the my RegisterExp...

Any recommendation to customize an iPhone MapView ?

I want to you iPhone LocationManager and display the position using a custom map, different from the one used by MapView. Is there any way to customize the MapView or should I rebuild my own MapView from scratch ? Do you think MapView will be open to achieve this kind of customization in a future release of the SDK ? Do you have any re...

getting xhtml custom attributes from jquery in IE

hello, i got some li elements with a custome attribute "type". whe i try in jquery to get the value of this attribute width jquery like so: $("li", $list).each(function(){ console.log($(this).attr("type")); }); i only get the values in firefox but not in IE 7-8 any solutions? ...

Run Custom Tool error for Resources.resx

Hi all, I got a VS project from somebody else and when I tried to "Run Custom Tool" on a specific "Resources.resx" file, I ended up with "cannot find custom tool 'xxxx' on the system". I'm pretty sure this custom tool has a good existing setup, namely "Custom Tool", "Custom Tool Namespace" etc. Why am I getting this error? I tried to ...

Sharepoint Branding - Multiple File Provisioning

Hi I've created a custom master page in sharepoint that comes with a lot of images (say 200). How do I package all the files to be provisioned to the Style Library of a site collection? The only way I know to do this is through a feature but that means listing every single file (all 200 of them) as a <file></file> element. Is there a...

Using HalDisplayString For Custom Blue Screen Of Death

I was reading a while ago somewhere online that you could make a custom BSOD. I don't remember where but I know it had something to with calling HalDisplayString which would switch to the bluescreen and print a message. I tried calling HalDisplayString from a simple driver but nothing happens. I was wondering if anyone could point me in ...

cannot load custom tooltips in silverlight

Hi,, I have created a custoom tooltip for a lineseries chart. however my problem is that this custom tooltip is never loaded..(I still get the default tooltip i.e. X-value) Is there something I should be doing differently?? page.xaml <Style x:Key="ttip" TargetType="chartingToolkit:LineDataPoint"> <Setter Property="Tem...

Renaming Title Column in SharePoint List Definition

I am defining a custom list content type for SharePoint (using VSeWSS 1.3 and schema.xml). I want to change the display name of the default title field ('Title') to 'Serial Number': <Fields> <Field Name="Title" DisplayName="Serial Number" Type="Text" /> </Fields> I am using the LinkTitle column in my definition of the default view ...

Are Custom Filters in NUnit Possible?

Is it possible to define a custom filter so that NUnit will only run specific tests? I have many of my Nunit tests marked with a custom attribute "BugId". Is it possible to write a filter so that I can pass in a number and only run the tests with that attribute and number? If so show mockup or real code. ...

How do I set the next available custom color in the ColorDialog?

I'm currently coding in VB.net. A user places the cursor in a table cell and clicks on "Table > Background Color" to edit the current background colour. Currently I have been able to detect the current colour (for instance a light blue) and set that colour in the ColorDialog (Colour swatches are correct and RGB values are correct). Wh...

Android Create Layered drawable in XML

Hello, I would like to create a drawable in XML that should include: image drawable color drawable The color drawable provides white transparent color. So, as a result we would have image with some white transparent layer on top. I have tried to use LayerDrawable, but it fails to be created during application launch: <LayerDrawabl...

Android. Padding doesn't take effect for shape in XML

Hi, I am trying to set padding in shape declared in XML file. But whatever I set, nothing changes related to padding. If I modify any other properties, I see updated UI. But it doesn't work with padding. Could you please advice possible reasons for this? I will provide below example of my shape.xml: <shape xmlns:android="http://schem...

asp.net custom membership provider: IsOnline property

When implementing a custom membership provider I see that the underlying data model has ISONLINE column in the USER table, as described here: http://msdn.microsoft.com/en-us/library/6tc47t75.aspx Question: When is this field actually updated in the database? In the sample implementation MSDN gave, there is no updating of this column, a...

YUI Datatable: custom column definitions and data

Hi, I am trying to use the YUI datatable to display data from a JSON object which looks like this: {"results":[{"label":"Column 1","notes":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. "},{"label":"Column 2","notes":"Lorem ipsum dolor sit amet, consectetur adipiscing elit."},{"label":"Column 3","notes":"Lorem ipsum dolor si...

[jQuery Validator] help with custom positioning error messages

Hello, I'm playing with the great Bassistance jQuery Validator and am stuck at a point The idea is simple: I have lot of this markup (I semplify, but the idea is that after each there could be something else, i.e. a word, an icon, etc... that is "inline" with the corresponding): <ol> <li><input type="text" id="width" size="3"></input> ...