I've got an HtmlTable that contains a series of LinkButtons in the table cells. I'd like to be able to determine the cell and row index of the LinkButton in a _Click event. Is this possible without using jquery/javascript?
...
Given the XML
<PSG>
<C id="1">
<N id="2" >
<A id="3" />
<D id="4">
<PP />
</D>
<V id="5" >
<Tn />
<P />
</V>
<N id="6" >
<D id="7" />
<D id="8" />
</N>
...
Hi
I have a datagrid which has one combobox column.
-the itemsource of the datagrid will be bound to the data from the database through RIA WCF
-the itemsource of the combobox which is inside the datagrid will be bound to the ListFinancialAccountType property which is a collection of Financial Account Types (also retrieve through RIA W...
Hi All, Im wrapping up my Iphone app. Im just worried about security at our web server level. The data is being pulled over to the iphone app via web services.
What security measures can i put on the web services so that I am not vulnerable?
Thanks
...
I have a WCF service that I am calling to using jQuery 1.4.2 (polling it actually every second or so). Over time, the ajax calls slow. Initial request to a method are around ~30ms, but over about a half hour i can watch using Opera's DragonFly (and verified with chrome's tools too) my request times slowly increase. In about a half hou...
We have some applications (web and WPF) that call WCF services to access data. We are not using Windows Authentication. The user is prompted for a username and password when logging into the web app or WPF desktop app. The data is not highly confidential (i.e. no credit cards, SSN, etc.).
We would like to use BasicHttpBinding for the WC...
Pretty normal scenario:
I have a report with a large number of rows (>2000) to be rendered as an HTML table.
I am paging the results on the client (browser) side.
I want to render the first page as quickly as possible, the rest will continue to download as JSON (about 1MB total)
I want to use a single request to the server because th...
I'm trying to detect the show system and hidden files settings from Windows Explorer in an application I'm writing. I'm using SHGetSetSettings and in calling it I have to specify one or more of the SSF Constants to specify what settings to retrieve.
Finding out the hidden files settings was easy enough, I just had to specify SSF_SHOWAL...
I have a C# application that uses the SerialPort object to establish a connection between another copy of the application running on another machine with BlueTooth capabilities. The program fairly constantly writes out some ascii data from the main machine, which is then received by the remote machine. The process goes fairly nicely (tho...
I've got an object (Decorator) that defines an attached property for any of it's children.
So far I have no issue setting/getting the attached property on the remote object:
public static readonly DependencyProperty RequiresRoleProperty =
DependencyProperty.RegisterAttached("RequiresRole", typeof (string), typeof (U...
I have a function that I want to use as an event handler:
void singleFrameEventHandler(void) {
SetEvent(g_hSingleFrameArrived);
}
However, when I try to register for the event:
iaframe->OnNewFrame += gcnew newFrame(&singleFrameEventHandler);
The following exception is raised:
An unhandled exception of type 'System.NotSuppor...
I am looking for an extension to Visual Studio 2010 which would allow for better organization of the solution, projects, folders and files. I would really like to be able to color code specific project and folders. For example, my team is working on and ASP.Net webforms site and integrating ASP.Net MVC. I would love to be able to colo...
For one of my projects I need to make PostScript files available for viewing online, My goal is to convert these PostScript files to HTML. I'd like to do it all in VB.NET code and in-memory stream and without using command-line programs.
I think a perfect solution might be to write the PostScript to a stream, and simultaneously read th...
What are the advantages of using an HTTPHandler vs an .aspx? Does it have the same capabilities and is it lighter weight and faster?
What are some of the disadvantages?
...
I'm using Visual Studio 2010 to write a simple C#/.NET GUI app, wherein I use a Logger class to write tracing/debugging info to a single file from within all of the various classes of the project. (See source code below.)
Each class's constructor writes an entry to the log when one of its object types is instantiated. One of those class...
I am writing a C# program in Microsoft Visual Studio 2010 that stores some information inside of the local user settings like so:
Properties.Settings.Default.userActive.Add(connection.Active);
Properties.Settings.Default.Save();
I also have a Visual C++ application that would like to read these stored user settings. Is it possible f...
Say that a page loads and the first thing I want to do is find the identity of the last record inserted into a table.
I'm not going to be inserting any records or anything, i just want to come in blind and find the last id inserted, can it be done using LINQ?
...
Hi,
I'd like to expose some functionality via a WCF service. I can configure WCF to instantiate a class per-request but am unsure how I can get a reference to a communal singleton -
If I were to have some functionality to store a list of calls to a method (call it LogMethod) via WCF in memory and return that list when the GetLogs meth...
Hi,
I have implemented a URL rewriting in the global.asax file, it works perfectly on my machine but not on the live enviroment. Any idea what shall I look at to solve the problem?
Thanks
...
I want to implement application settings to have them update settings that wont be set in a file i manage. I have the following so far:
In settings I have a variable named valuesforcomparison of type nameValueCollection and the scope is user. Now when I do the following the variable isnt updated the next time the user runs the program....