Hi,
I have a FormView control which uses the DataSource control for binding. It has the Item Template and therefore automatically displays the New, Edit , Delete buttons which then pick the appropriate queries from the DataSource control queries.
If i had to do the mapping of the New, Edit and Delete buttons of the FormView control fro...
This Wiki article on Base64 URL says
"For this reason, a modified Base64 for URL variant exists, where no padding '=' will be used, and the '+' and '/' characters of standard Base64 are respectively replaced by '-' and '_', so that using URL encoders/decoders is no longer necessary and has no impact on the length of the encoded value, ...
Hello, I have a problem: when i call a Response.Redirect() from the MasterPage it doesn't work.
Well, debugging i can see that until the Pre_Render() method the target page is loaded, but then is rendered the previous page.
Here's some code to better explain:
(from MasterPageMain.master.cs)
protected void Page_Init(object sender, Even...
I want a nice "on mouse over"-effect on a word. I want my system to show a 2*1 (inches) rectangle with some information in it. Please guide me to an url or show an example
...
Working on an intranet where we have about 20 different web apps - some .net, some classic asp.
Currently each .net app is its own solution. There are advantages to this - we can build & deploy just one app, without affecting other apps, and all the apps share a session - but we can't use master pages, and there are real challenges us...
instead of doing
session("myvar1") = something
session("myvar2") = something
session("myvar3") = something
session("myvar4") = something
is doing
enum sessionVar
myvar1
myvar2
myvar3
myvar4
end enum
session(sessionVar.myvar1.tostring) = something
session(sessionVar.myvar2.tostring) = something
session(sessionVar....
From the client, is there a way to get a true/false value from an asp.net page to show you have authorization to access the page. Using Forms Authentication I get redirected to a login page. I just need a simple boolean.
Aaron
...
For part of a web application the user needs to import some data from a spreadsheet. Such as a list of names and email addresses. Currently we do this by asking the user to browse for and upload a CSV file.
Unfortunately, this isn't always possible as various corporate IT systems only allow users to access files from document management...
Ok, this might be an impossible question but I am adding a user control to an existing cms system (Kentico using their InlineControl base class) and I added a label that I have overriden the click event to show a div area below it. What I am having problems with is inheriting the already set css attribute of color, font-family; etc.. fr...
i am trying to use some html input controls (instead of the asp.net server controls) to capture input for a report's parameters and would like to post the parameter values to a ReportViewer control, and load the report from Report Server.
do i have to simulate a postback to make this happen?
...
I am trying to restyle a table generated by an asp.net gridview control. The problem I have is that the gridview is generating an inline styles. How do I make the browser render my css rather then the html style attribute?
...
Hi, I need to build a PDF based on FDF. I saw that Adobe has the FDF toolkit but saw others using ITextSharp. I couldn't find anything on Adobe's toolkit and ASP.NET but saw examples on ITextSharp. I wanted to know which I should use and if it is Adobe, does anyone have an example.
Thank you.
...
I know there are a few people working on getting Nhibernate to support ASP.NET Dynamic Data. Anyone got real life experience of using it?
...
Hi, is it possible to use Eval or similar syntax in the SeparatorTemplate of a Repeater?
Id' like to display some info of the last item in the separator template like this:
<table>
<asp:Repeater>
<ItemTemplate>
<tr>
<td><%# Eval("DepartureDateTime") %></td>
<td><%# Eval("ArrivalDa...
I have what appears to be a fairly common scenario: I have a database that contains a list of users/passwords, and ideally, when someone visits the site, I'd like to use their windows name (internal), otherwise whatever name the user provided (external).
My main question is how do I send a response to the browser forcing it to prompt f...
Hi Everyone,
In our project, we have 20 simple web controls, 8 composite web controls including Ajaxable Custom Grid. And all modules are developed dependent to these controls.
And now I afraid to change a control, because it effects modules more then I think.
It's too late I know but I need to write some test cases for my controls.
...
In .NET (C#, specifically), how can I stop navigation?
Situation: User has clicked a link and fired off the _Click() event.
The click event fires off a save method, which verifies some information. If any of the information isn't as desired, we want to stop the rest of the click event from occurring.
ASP.NET's built-in validation won...
At the moment I have something like this
`
<%# Eval("orderBy").ToString()%>)
<%# Eval("question").ToString()%>
" type="radio" id="True" value="True" class="styled" />
" type="radio" id="False" value="False" class="styled" />
`
And in the code behind I caputure the values as Request.Form("question1") for example and this a...
I just posted one question and got it answered very quickly, thank you.
I have a new problem, being I have a asp label which gets text dynamically set on it during instanation and then I have a onmousedown function tied to it call a javascript function to enable a table area that sitting below that is display - none by default. It all ...
I have an ASP.NET web application that calls a .NET DLL, that in turn calls a web service. The web service call is throwing an exception:
Unable to generate a temporary class
(result=1). error CS0001: Internal
compiler error (0xc00000fd) error
CS0003: Out of memory
Stack Trace: at
System.Xml.Serialization.Compiler.Com...