I have a project where I made a couple user controls: a Legend, and a Legend Item.
On my web page, I am retrieving a collection of information that I want to load into LegendItem controls (setting basic text and color info) And then Add those Items to my Legend control (the Legend control has a Panel on it and I have referenced a Legen...
I have a link of a file, and I don't know how to add it to imagebutton. I want to see the 'open-save-cancel' , screen when imagebutton is clicked, but imagebutton doesn't seems to be taking the link of file as a file, but taking it as a page url and tring to open the file url as page.
Thanks
...
Hello everyone,
I'm looking at how to solve a problem and I'm not even sure this might be possible at all in C# & .NET 3.5:
Say I have a limited number of interfaces, each describing a specific, non-related set of methods. Now I have a number real-world devices which each may implement just a subset of these interfaces.
During set-up ...
Hi,
I have problem with control event handler. I created a control ( button ) and I want to bind click event with a method. But I have "Error binding to target method." exception.
code is,
class SetControlEvent
{
public void Sleep()
{
System.Threading.Thread.Sleep(5000);
}
internal void Set(object theObject,X...
I deployed a JAX-WS Service and use wsimport to generate client code.
Because I run wsimport on localhost, I got the client code with binind on "localhost" address.
But I want to reuse those client code on other computers which access my deployed service with a public IP y.y.y.y. How can dynamically use those (once) generated client cod...
Not Sure if this can be done, the way I am approaching it. Here goes nothing. I am echoing images from a php upload script, each img has a unique ID which starts at A1,A2,A3,A4 and so on. Now I can select That img ID and create the action I want, however I have to do it for every ID, I wont be able to do this as new ones are created, How...
I am busy building an ASP.NET website that runs off a SQLServer 2008 backend database and I am using LinqToSQL and Dynamic Data. I use ASP membership for user registration. However I need to capture extra user information that is stored in other tables. I am using ASP's built-in controls i.e. login, change password, create user wizard et...
I'm writing an ASP.NET app in which a table of objects is created by the user client-side.
I envisage them clicking "Add item" and a new 'row' is created in the table with textboxes for them to enter their stuff.
I can do this fine by adding HTML with jQuery. The problem is that one of the fields in the row for the user to fill in needs...
I've tried to understand some of the posts of similar, but don't quite understand their purposes and thought I'd explain my own...
I have a class -- fully defined with code with properties, and methods. Many methods are virtual to be overriden by further derived class. So, I have something like the following
Class_Main
-- Class_A ...
I have a database with 2 records Id and Description.
What I want to do is try to bind this to a table so for example
<tr>
<drop down select list with ids available> <textbox>
</tr> <add button>
So the user can select an id from the drop down list, enter a description then click an add button next to this which will duplicate tha...
So, I'm trying to dynamically add a button to a site to give the user of an idea of what they are adding to a form. However, when it renders a new button, it keeps providing the value property as "" and ignoring the attribute that I add. I've attempted to fix this to no avail, including removing the value attribute before adding in my ve...
hi all,
i'd like to use this plugin for dynamic includes:
http://plugins.jquery.com/project/jquery-plugins
i managed to include one file + getting a done-callback.
my question: is it possible to include several files at once (eg. 10 .js + 10 .css files) and getting a global done-callback?
thx,
fuxi
...
I'm a beginner and trying to generate as much of my own code as possible without just constantly asking others to write it for me, so with regard to this question I'm looking for hints in the right direction, rather than outright working examples. You people are all very talented, but I learn best if I reason it out myself. Should I hit ...
I am developing an application in which I would like to let the users design some forms and decide the fields that are in the form.
An example is better than a poor explanation, so let me put the example of Microsoft CRM in which you as end user can define a form, the fields in that form, or customize existing forms by adding or removin...
I am having trouble with dynamic SQL.
Early in my code I assign data to a bunch of local variables.
I want to access these later in my code and use the data values.
The code example below shows a simplified example to explain what I am trying to do.
-- ----------------------------------------------
-- Declare and set the data into a ...
I'm using jQuery to dynamically add form elements to a web form. Users can "add a time slot" to their request form by clicking a button/link. When clicked, I'm using .after() to add another two rows to the form table, as well as the labels and fields.
The last column in the appended code is a link that says "Remove".
$(document).ready...
Hello,
I got an array which I iterate over and try to create a variable.
The name of the variable is variable and comes from the array. So I am using eval (this code will only be used on my local computer) to create the variables.
Weird enough I can create a variable and add plain text to the contents of it. But whenever I try to set a...
How do I code the Select clause in my LINQ satament to select column aliases so I can sort on them basically I want to accomplish this SQL statement in LINQ:
select
type_id as id,
type_desc as description
from
dbo.equip_type_avt
order by
description
What do I replace the ????? in my .Select clause in my LINQ stat...
I've only recently come to really grasp the difference between static and dynamic typing, by starting off with C++, and moving into Python and JavaScript. What I don't understand is how a dynamically-typed language (e.g. Python) can be implemented on top of a statically-typed language (e.g. C). I seem to remember reading something about ...
The code below produces this output fine:
This is page one.
This is page two.
But how do I change it so that the PageItem objects are instantiated dynamically from the List<string>?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestInstant
{
class Program
{
static voi...