custom

setOnItemClickListener not responding for Custom ListView

hi, I wrote a custom Adapter for a listview ,but when i tried implement click event for list item ,i found that it was not responding ,I will be glad if someone suggest me a solution. public class TourList extends ListActivity { .... setContentView(R.layout.tourlist); ..... getListView().setOnItemClickListener(new OnItemClickListen...

How to create a custom render extension in SSRS 2008.

Hi, Please let me know that how can I create a custom render extension in SSRS 2008. I have created it in SSRS 2005, but when I try using the same code in SQL Serever 2008, it does not work. The IRenderingExtension interface doesnot seem to be compatible with 2008. It gives the following compilation error: Class 'Renderer' must imple...

asp.net mvc custom model binding

Hi I am using a custom model binder with asp.net mvc 2.0 , everything works locally but when deployed to the server runing iis 7, i get a weird error which is hard to get information about the error is as follows, I am also attaching my model binding class [MissingMethodException: Method not found: 'System.Collections.Generic.IDictionar...

Opinions Required: Custom HTML Markup from PHP with or without tag prefix.

I've created a class in PHP that allows you to create custom HTML markup. It basically works a bit like FB Markup or EE tags. It works off a tag prefix, so you can add tags like this. <ctag:pagination per_page="20" total="500" page="0" base="http://localhost/page?page={page}" mode="smart" adjecents="5" /> My question is: Is the markup...

Adding Custom Properties

Hi All I have created a user control, and now I want to add custom properties to it so they will appear in the Properties toolbar in Vis. Studio. How can this be done? My custom property will be: "Animation Type" with options "Fade | Blink | Scroll | Blend" thank you ...

How to: RadioButton in custom DataGridColumn ItemRenderer in AS3

I have a datagrid that I want to add a column of radio button using AS3 (instead of mxml). I was able to do this with a custom itemRenderer. var dgc:DataGridColumn = new DataGridColumn(); dgc.itemRenderer = new ClassFactory(com.mypackage.RadioBtnColumnItemRenderer); In my RadioBtnColumnItemRenderer.mxml, I have a box with a radioButt...

How do i make custom page numbering in latex?

Hi! I have a report, where i also have appendixes. What i want is to use a different style on the page numbering when the appendixes start. i use arabic until i reach the appendixes. Then i would want to do something like this: I want the custom page numbering to be: Chapter: A Section: {Chapter}{1} (A-1) \newpage \pagenumb...

How to change the type return by DataGridViewCellCollection to fit Custom DatagridViewCell

Hello, I have a problem with my custom DataGridViewCell, indeed i tried to write to a custom property of my datagridviewcell but i cannot because it's not accesible. This is my code: namespace MonthCalendarLibrary { public class MonthCalendarCell : DataGridViewImageCell { public DateTime date { get; set; } pub...

Drupal Module Development: How to Communicate between form_submit and page handler functions

I am writing a module and I need to retrieve values set in a form_submit function from a page handler function. The reason is that I am rendering results of a form submit on the same page as the page handler. I have this working, but I am using global variables, which I don't like. I'd like to be able to use the $form_state['storage'] ...

How to make column'd UITableViewCell like Tweetie 2

I would like to re-create a cell similar to Tweetie 2's Profile view. where it says"following", "tweets", "followers" and "favorites" ...

Custom draw button using uxtheme.dll

I have implemented my custom button inheriting from CButton and drawing it by using uxtheme.dll (DrawThemeBackground with BP_PUSHBUTTON). Everything works fine but I have two statuses (Normal and Pressed) which Hot status is the same. It means when the user places the cursor over the button it is drawn alike regardless the button status...

Response.Redirect not working inside an custom ActionFilter

My code is the following public class SessionCheckAttribute : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingContext filterContext) { if (/*condition*/) { filterContext.HttpContext.Response.Redirect("http://www.someurl.com",true); } base.OnActionExecuti...

Custom CSS for a 3rd-party site

Is it possible to apply a custom user CSS over a specific site? Say I created a custom CSS file that I wanted to use while browsing the google.com domain, how would I apply it / add it? I would like to know for Firefox and IE if its possible. ...

How to move progress bar during custom action

While running the custom action in the installer there is no progress bar. We are using the Immediate C# manage code custom action. Is any other ways to show the progress while running the custom action ? Advance thanks \ Velu ...

sharepoint custom aspx page with database connection

hi there i have created a custom aspx page whithin my sharepoint site with a sql server connection to a database on that server to select data when i view the page it works but when another user tries to view it it gives the following error : Server Error in '/' Application. Login failed for user 'GRINCOR\GuguK'. Description: An ...

Remove Custom UINavigationBar

Hi, I've customized my UINavigationBar with an image like that : @implementation UINavigationBar (CustomImage) - (void)drawRect:(CGRect)rect { UIImage *image = [UIImage imageNamed: @"NavigationBar.png"]; [image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)]; } @end When I launch a video my custom ...

CKEditor configuration, prefer img tag atrributes over inline style

On su it was suggested to ask this here... Looking for a way to disable a feature in CKEditor that messes with attributes height and width on my and converts them into inline styles. The version of CKEditor is 3.2 and I have access to config files. Along the same lines is there somewhere an overview (or procedure) for changing the way...

How can i have custom fields on the posts page in wordpress?

First I've created a home.php page to replace index.php and can add some custom fields on this new one and to have in it lastest 3 posts. On home.php page I put: <?php echo get_post_meta($post->ID, 'test', true); ?>"/> but it doesn't works cause it tries get the post id and not the id of the page. If i put 18 (id of the page) directl...

How to make drupal known submitting custom content

Hi, I know this is not a drupal forum but, as I’m not getting any response there, I decided to give it a shot here. I’m creating a web site that accepts custom content from users. So, for that matter, this site has a form and a custom module. Instead of using admin theme, this form is placed inside custom template which is created to...

How do I specify a different From email header?

I am using godaddy hosting account with windows hosting. Using PHP I am sending email to customers, how do I use my own email address instead of [email protected] I would like to use [email protected] for all my out going mails and reply to as well. I did by setting a from header in the PHP headers, but its not working. Any h...