Tagged Questions
0
votes
0answers
16 views
Looking for ASPX and C# debugging alternatives
I have an interesting and rare situation. There is an single stand-alone ASPX and C sharp file I am debugging. It is not part of a project or web site.
It runs with other files and libraries ...
1
vote
2answers
321 views
TextBox controls are not Working with Export To PDF(iTextSharp)
I have an HTML form, which contains lables and textboxes.
After filling this form, it is exported to PDF.
All the label Texts are exported. But the textbox text is not exported to PDF.
Code
...
0
votes
0answers
12 views
cannot get second gridview to load after clicking the select button in first gridview
I have two gridviews in asp.net the first one looks like this
<asp:GridView ID="grdFilteredDenialReport"
AllowSorting ="true"
AllowPaging="true"
...
5
votes
2answers
194 views
How to Get the Impersonated User Id in a Plugin?
Within the Plugin Context, there are two user ids,
InitiatingUserId which returns the id of the user who actually fired the plugin.
UserId which returns the user Id of the user the plugin is ...
1
vote
5answers
631 views
How to prevent a row add to GridView during binding
We have a GridView that bind to some data and it look like this:
RowNumber Id Desc
-------------------------------------------
1 20 Desc1 ...
1
vote
3answers
392 views
How to use threads in asp.net?
I have web forms application. On one form I have a few functions. Which are called syncronously and takes some time. So I need to call them in different threads.
This is the sample of what I'm doing:
...
-1
votes
0answers
18 views
how to store data permanently in sql compact database3.5 [closed]
i am using sql compact database 3.5, the data is being inserted successfully, but after sometime the data gets deleted automatically. Please help me in this problem.
3
votes
1answer
64 views
Recaptcha not working in asp.net
I am using Recaptcha to stop spamming on my site. Here is the code for Recaptcha
<asp:Panel ID="Panel1" runat="server" style="padding:5px" BackColor="White"
BorderColor="#999999" ...
2
votes
5answers
3k views
Changing text of an autogenerated select column of a gridview in asp.net - How?
I would like to change the text of the autogenerated "select" column in an ASP.Net gridview control. The text needs to be changed to the value of a datafield.
I suspect that there is a very logical ...
1
vote
1answer
41 views
How to pass IEnumerable list to controller in MVC including checkbox state?
I have an mvc application in which I am using a model like this:
public class BlockedIPViewModel
{
public string IP { get; set; }
public int ID { get; set; }
public bool Checked { get; ...
1
vote
3answers
69 views
Changing the HttpPostedFileBase.SaveAs destination directory
I'd like to save an uploaded file outside the project's directory when i use HttpPostedFileBase.SaveAs(path) the file destination will be in the server's directory.
for example:
HttpPostedFileBase ...
0
votes
1answer
23 views
ASP.Net Dynamic popup window
I have a C# web app that pulls a json object from a web service after a button click even. This object has HTML code saved in one of its properties. I need to popup a window to the user from this ...
0
votes
1answer
15 views
Possible to use one resource file with multiple languages?
I've got a .net 4.0 website that we have 2 copies of it running. One for US based users and another for AU based users. Code is basically the same, the only differences being some text and wording ...
1
vote
3answers
1k views
ASPX VS CSHTML to do grid processing
I need to write a web page which I need to interact with Grid entry/edit.
I choose ASP.Net MVC and LINQ TO Entity Framework.
What my problem is I have two option to choose at View Layer.
ASPX
Razor ...
0
votes
1answer
56 views
HttpContext.Current is null for bots
I have the following code in a class which is called by a .NET page (asp.net webforms during page_load event):
public static bool BrowserSupportsJS
{
get { return ...