Content
Parameters in ASMX webmethod
I have a WebMethod in plain old asmx Webservice which accepts a couple of parameters in json format eg {"param1":1, param2="string"} however if the sender attaches additional parameters in the list eg …


ASP.Net 4.7.2 application - IIS 10 - Forms authentication - Logging out intermittently with Event code - 4007 (URL authorization failed for the request)
We are facing intermittent logout issue(all logged in users redirects to application warning page) sometimes after 3 mins of browsing or sometimes user can able to browse for 10-15 minutes before automatically log out, In event viewer application logs,…


Connection ID required SignalR Asp.net core Web api
Good Day Everyone i have created a Asp.net Core web api for the purpose of SignalR my hub is defined like this public class ChatHub : Hub { public ChatHub() { } public void SendMessage(string AUTHOR, string…


SqlCommand issue
Hi all, There is the proper existing connection on Webconfig file. What is the reason to the issue below?


how to permanently delete photos [with photo name] from telegram using api in asp.net c#
I am looking to delete a photo(test.png, permanently from telegram) sent by my bot using telegram API and I'm able to deleting the photo(message) using deleteMessage so if I use the same photo with the same name (photo ex :- test.png) and modifying that…


Help with if statement in repeater
Hi, How can I add If statement to repeator, this line: <%# double. Parse(Math.Round((Replace(Eval("VPC"), ".", ",") / 7.5345), 2, MidpointRounding.ToEven)).ToString("0.00") & " €"%> …
How do I insert image data directly from an asp:Image control, not through file upload control?
I have a code that inserts image into database table, the image file comes from a file upload control, with a file name. But I want to insert an image that comes directly inside asp:Image control. How do I do this please? I can't get this part right …


Adding logo image from asp:Image control to a QR code image
I have this C# that generates QR code image, but I want to be able to place a logo in the middle of the QR image. The logo image will be gotten from an image asp:Image control. I search for solutions online but I could only find that they all get their…


ASP.NET WEBFORM GRID
Hi, i have created a grid and want to save data from textboxes to grid on a Modal. The update only happens after postback event. I have added an update panel with Asynchronous trigger on button click. Now grid updates without refreshing the page…


Datetime issue
Hi, How to resolve cannot convert from 'System.DateTime' to 'string' on this line below? tb_Update_date.Text = DateTime.ParseExact(DateTime.Now, to_dt_format, CultureInfo.InvariantCulture);


SQL+VB+ASPX Web Pick datat from sql db as per date selected in textbox
Hi I have a SQL+VB+ASPX Web in which I want to select data as per date . But when i change date field to date then its working if its datetime then its not working. My code is appended below. Str = "Select Opening from Production1 where…
500 - Internal server error
Hi, The project was properly deployed on the server but I has the issue below. What to check it further? Server Error 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.


Enabling HTML, CSS, and JavaScript in Visual Studio 2022
I have updated the latest version of Microsoft Visual Studio 2022. Since I have books that concentrates on web development, I want to enable design time and runtime operation abilities on that framework. I am unsure which libraries to include, if…
Data source is an invalid type. It must be either an IListSource, IEnumerable, or IDataSource.
Greetings again. Hoping to get a quick solution from you experts. I am still working on converting our app from LINQ to 'regular' asp.net code. The following is the LINQ I am trying to convert: var iaddresses = from a in…
How to show tooltip error message in asp.net codefile page using jquery
I want to show an error message using tooltip while we validating the textbox on button click event using jQuery in asp.net c#. I have add an aspx page to master page and in master page after footer I used this script links for tooltip bootstrap …


how can I go to aspx.cs only if js return true?
I did like this in js (i need to check if the credit card details are correct). so I want instead of the return true to send it to aspx.cs if (submit != "") { if (card != "" && validity != ""…


How to Bind data to multiple dropdown <WebMethod()> Asp.net VB
Hi, Please help me with the following; I would like to bind dates to multiple dropdown options at once. I can able get one and bind dropdown (ddlRegnList), wanna bind another one dropdown (ddlBranchList), how to do simply? <WebMethod()>…


Confirming a strong encryption code
Hello Forum, May I please ask if I encrypt the <connectionStrings> and <machineKey> sections of the Web.config file, will a hosted server automatically decrypt them when it processes the file? Because I read that ASP.NET…


Articles Page: How do I create a page where I can post related articles on my website?
I really don’t know how to start with this. I want to create a page where I can be adding new articles, update articles and display date and time when an article has been updated or added. The time will be displayed just like in the image below;…


asp.net calendar - change date selector control
Can i select the date by clicking the cell of the date instead of the date character? Thanks.