I was only wondering if it is possible at all to use server code within an assembly embedded javascript resource file.
For example I downloaded an assembly resource sample project and I can see within the javascript resource file you can call server code. In this sample to get the url of another embedded resource (an image in this case)...
I have a repeater with which I want to use to show a user control multiple times, populated with data.
Currently, I have this:
<asp:Repeater runat="server" ID="MyRepeater" >
<ItemTemplate>
<uc1:MyItems ID="MyItems1" runat="server" />
</ItemTemplate>
</asp:Repeater>
My user control has three properties, which I want to...
hi expert i am new in asp.net development, i have problem when page load fired a click event of button is automatically fired will you please tell me why it is happening and what is the solutions for that.
lets
protected void butSubmit_Click(object sender, EventArgs e)
{
if(butSubmit.Text.ToString().Equals("Submit"))
...
Hi all,
I'm using window.open in a function to open a web page, which displays help for the
current page.
The pages URL are stored in DB , some pages need authentication.
For these pages, the first time we call them the user has to authenticate, but if he closes the page and opens it another time , it's the cached page that is displa...
Hello all,
I have navigation and many link on my webproject from html action links.
They are ugly with underline. I would like to insert some image with name or play with styles of action link.
Is it possible? How to do that?
Thanks and take care,
Ragims
...
I need a free ASP.NET WYSIWYG control, which allows me to edit full HTML page.
I tried FreeTextBox, RichTextBox and others, but they remove <html>, <head>, <body> and etc tags when I switch to Design View.
I googled a workaround and found two opened topics on the FreeTextBox forum dated 2005 and 2007 with no answer.
http://freetextbox....
Hello,
I have a page with some datasources in it. I am doing reenginering of the page itself and would like to split some parts of the page in several user controls.
In my code I have an ObjectDataSource object with the following params
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
TypeName="DataSetTableAdapters.Photos...
How to handle asp.net mvc routing along with asp.net webform routing.
I have merged my mvc app into my existing web application.
In my web application i have implement routing as below:
routes.Add("View Product Details",
new Route("Product/{City}/{Manufacturer}/{Name}/{ProductID}/{*ProductType}"));
Similarly i have implemented rout...
I have a text area in my ASP.NET web application that is used to enter html code. Now there is also an button control, which upon clicking should retrieve just the text placed between certain html tags in the text box.
For example:
1) User types html code including tags etc. and clicks the OK button
2) In my code the text from the te...
The type 'Sdi.Pss.Site1' already contains the definition for 'logout'
The type 'Sdi.Pss.Site1' already contains the definition for 'btnfresh'
The type 'Sdi.Pss.Site1' already contains the definition for 'lblshow value'
...
Hi friends,
I have a question about YUI. I am using YUI calendar component in my website project. I insert the codes inside ASP as javascript. (like that http://developer.yahoo.com/yui/examples/calendar/germany.html ) Now, i am about to hearing your questions, i am answering them immediately. Yes, this link explains how lo localize YUI ...
I ve started a timer to visit my application every 20 minuates in Applicaiton_start in global.asax.
void Application_Start(object sender, EventArgs e)
{
System.Timers.Timer tm = new System.Timers.Timer(20 * 60 * 1000);
tm.Elapsed += new System.Timers.ElapsedEventHandler(tm_Elapsed);
}
void tm_Elapsed(object sender, System.Timers.Elaps...
I have created two custome membership providers that I would like to add to my web.config. The first one would be the default that the asp.net application would use. The second would be called by a WCF service that I have in the same application.
The providers in the membership section of my web.config looks like the following:
<...
I'm a student doing final year of my Computer Science and Engineering. For my final year project i've choosen to do an online word processor such as google docs,zoho etc.I want to implement this project in .net. This will be a ajax oriented project and i'm well prepared with the web related part of it with ASP.net and C#.net at the serv...
Hi,
I have been working with C# for past four years at the enterprise level. Now, I have taken a decision of moving to Web side of the things. Since I am well versed with C# and WCF I naturally zeroed in on ASP.NET as I need not learn a new Programming language. Learning just the Web Framework will suffice.
I have read a lot regarding ...
hi all i want to know that if in my login.aspx page there is two button login and cancel
now i press enter key of my keybord by default its select cancel button but i want to set it on login how i will do ?
...
Is it possible to find out the clients IP and possibly MAC address from non IE browsers (i.e. without using ActiveX)? If so, how?
...
userName = Global.getComponent('centerRegion').UserName.getValue();
That code pops up with the error
{"browserEvent":"'Global.getComponent(...).UserName' is null or not an object","button":-1,"ctrlKey":false,"xy":[0,0]}
When I run it on this form:
Using Form As New WebControls.Forms.Form
With Form
...
I made a toy Silverlight application. It gets some arbitrary XML from a domain service and stuffs it in a datagrid.
What I'd like to do is implement access control for the service and the Silverlight control. For example, I'd like to allow access only to logged-in users, while denying access to anonymous users.
With forms authenticat...
I've been trying to read about and test various regular expression testers to find my solution but to no avial. I'm using:
<asp:RegularExpressionValidator ID="RegularExpressionValidator1"
ErrorMessage='<%# "*"%>' ValidationExpression="," runat="server"
ControlToValidate="edit_email" Display="Dynamic"
EnableClientScript="true"></asp:Re...