I have a folder C:\Images which has a some images. This folder is not inside my project and I would to know if there is a way to load an image from that folder on to an ASP.NET Image control.
<asp:Image ID="img" runat="server" />
One solution could be to make the Images folder a Virtual directory on the IIS but I would like to know if this can be done without creating a virtual directory for the Images folder.
Hi.
We are a team working on a bunch of SSIS packages, which we share using version control (SVN). We have three ways of saving sensitive data in these packages :
not storing them at all
storing them with a user key
storing them with a password
However, each of these options is inconvenient while testing packages saved and committed by an other developer. For each such package, one has to update the credentials, no matter how the sensitive data was persisted.
Is there a better way to collaborate on SSIS packages?
Hi,
I want to validate asp FileUpload Control using in asp.net. That should accept only the .xlsx and .xls files. Validations may be on server side or client side. but client side will better.
How to do this?
I have an asp.net C# web forms application in .net framework 4
In my pages, when I view html source it changes control IDs to something like ctl00_CPHPageContents_txtUserID actually it is txtUserID
This application was first in Framework 3.5 and IDs were generated like CPHPageContents_txtUserID
So, in short, in Framework 3.5 Id was CPHPageContents_txtUserID and now in Framework 4 ID is ctl00_CPHPageContents_txtUserID which is breaking our automation tests. Can I remove this ctl00 added by Framework 4?
"execvp()" replaces the current program with the to-be-execed program (of course in the same process context). So, putting, say, any printf() calls after execvp() won't work. That is what the docs say, and I have verified it as well.
But then, why is _exit() needed..? Does it so happen that the control DOES return to statements post execvp() ?
I will be grateful for any pointers.
Thanks
I have created a COM component that uses CRViewer to load and display some reports.
i consume this COM control on the windows application using C#.
THe problem is before vista SP1 was installed the CRViewer is to load propery and show the report but after SP1 it does not , CRViewer.IsBusy is always set to true.
I'd like to implement a spinner control (something along these lines) in Silverlight 4 to display during pending operations. There are several examples on the web for Silverlight 3 but I'm either unable to compile them into my project or they just flat out display nothing. In addition I'm unable to find any examples specific to Silverlight 4.
Can someone please post a sample for Silverlight 4 or a link to one?
I have a Label control on the form with small text.
i want to be displayed - rotated counter clockwise by 90 degree
VB.NET / Visual Studio 2005
Windows Forms Application
Any ideas
Hi, I am trying to profile my Spring Web app running on WebLogic 9.2
JRockit Mission Control 4.0 works perfectly except it doesn't capture Spring Beans method invocations. Are there any tricks to make it work?
I have a online survey running in Silverlight. Out of more than 1000 onetime users, there are three users than cannot open a combobox on the first page. The control seems disabled and don't react on mouseclick.
Since it is one-time user, they don't wan't to help me with debugging and I cannot reproduce the problem myself.
Any ideas why 1000 users have no problem, and 3 are experiencing all controls like they were disabled?
I have just asked which one is better?
Static Vs Non-Static?
http://stackoverflow.com/questions/3016717/static-vs-non-static-method-performance-c
I would like to take this discussion one step ahead.
Consider If i pass reference of Panel control as parameter to Public static method, will static method still rules in performance?
When I tried To Find Control n data List As I Mentioned Below Error(Object reference not set to an instance of an object. I cannot know
protected void dlCategory_ItemDataBound(object sender, DataListItemEventArgs e)
{
Label Lb = (Label)e.Item.FindControl("LblCat");
Lb.ForeColor = System.Drawing.Color.Red;
}
'
onitemcreated="dlSubCategory_ItemCreated"
onitemdatabound="dlSubCategory_ItemDataBound"
'
class="buttn_txt"
'
We have a scenario where we would like to allow our users to upload images to the site. We are running on ASP.Net.
A quick search did not result in anything good. It would be great if the control is free/open source but we do not mind paying a little bit.
Most of the sites capture the date (e.g. birth date) information as either a single entity (i.e via a calendar control) or instead as separate fields (date, month, year).
Are there any benefits in showing them as separate fields?
Are they represented in the database as DATE data type or as separate fields.
I am just trying to understand the pros & cons of representing the date field.
I don't want to make this into a "which is better... MVC or WebForms" type of question. Im sure that has been asked a bunch of times here already.
My Question: If I am building a MVC web project, why should I not use an ASP.NET datagrid control on one of my "Views" .aspx pages?
I'm try develop an ActiveX Control in VB6. It have one UserControl and one form. And the problem that i can't call usercontrol function's (even public) from this form. I can't type something like
UserControl.DoSomething 'not working
It work's only if create copy of usercontrol (UserControl1, for example). But in resulting i need one ocx file (component). So i can't create another form with copy of usercontrol in project
I am just beginning Haskell, but from all the online tutorials I've found I can't seem to find if there is one accepted way to do a conditional control statement. I have seen if-else, guards, and pattern matching, but they all seem to accomplish the same thing. Is there one generally accepted/faster/more efficient way than the rest?
From one particular machine, accounts are unable to get tfs project info and source control via the visual studio tfs client.
The connection with the tfs server is made but the project content remains empty.
Web access is possible from this machine.
Note: from all other machines everything works normally, so it must be a local machine issue.
What might be misconfigured on this machine?
Otherwise there seem to be no problems on this XP machine.
Hi,
Can i use XPAth expressions to navigate through DOM elements in WebBrowser control? May be attaching javascript code and use document.evaluate function is right way?
Can another activeX browser component(firefox,webkit.net) help me to solve my task?
Hi I am using bootstrap styles for my asp.net web application and I have a menu control at the top. I want to insert a search text box at the top right on the same line as the menu bar. Following is my code. Can anyone please suggest how to do this? Thanks.
<div id="container">
<form runat="server" class="navbar-form navbar-left" role="search">
<div class = "navbar">
<div class="navbar-inner">
<div class="container">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<a class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<div class="nav-collapse collapse">
<asp:Menu ID="NavigationMenu" runat="server" EnableViewState="false"
IncludeStyleBlock="false" Orientation="Horizontal"
CssClass="navbar"
StaticMenuStyle-CssClass="nav"
StaticSelectedStyle-CssClass="active"
DynamicMenuStyle-CssClass="dropdown-menu">
<Items>
<asp:MenuItem Text="Home" ToolTip="Home"></asp:MenuItem>
<asp:MenuItem Text="Music" ToolTip="Music">
<asp:MenuItem Text="Classical" ToolTip="Classical" />
<asp:MenuItem Text="Rock" ToolTip="Rock" />
<asp:MenuItem Text="Jazz" ToolTip="Jazz" />
</asp:MenuItem>
<asp:MenuItem Text="Movies" ToolTip="Movies">
<asp:MenuItem Text="Action" ToolTip="Action" />
<asp:MenuItem Text="Drama" ToolTip="Drama" />
<asp:MenuItem Text="Musical" ToolTip="Musical" />
</asp:MenuItem>
</Items>
</asp:Menu>
<div class="form-group">
<input type="text" class="form-control" placeholder="Search"/>
<button type="submit" class="btn btn-default">Submit</button>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
`
I need to change the braching of floder under TFS Source Control for my project
is it possible?
right now my project is under AAA folder
no I need to keep it in AAA--- DEV-- My project...
thanks
\documentclass{book}
\usepackage{amsmath}
\usepackage[german]{babel}
\usepackage{amssymb}
\usepackage{amsxtra}
\usepackage[dvips]{epsfig,psfrag}
\usepackage{listings}
....
this is how my file starts. I didn't even edit it, I received it like this. However, if I want to make a pdf, it gives me the undefined control sequence error at the first line... What is wrong??
Hi All,
Please anyone help me to create a slider control like this: http://www.protofunc.com/scripts/jquery/jmediaelement/demos/simple-controls-h264.html.
Geetha.