Showing posts with label code behind. Show all posts
Showing posts with label code behind. Show all posts
Thursday, 14 June 2018
Force the designer.cs file to regenerate asp.net
Has your lost your designer or it has gone corrupt and you can not get it back, I had this problem and after an hour of trying different things found on the net i came up with this.
I created a new page and and named it xxxxa , copied all the code and controls from the corrupt one and saved the page. I then deleted the original page and renamed xxxxa to the old page. There we go working a treat.
Monday, 19 March 2018
Multiple controls with the same ID 'SqlDataSource
Are you getting tis error when the page refresh's ,Multiple controls with the same ID 'SqlDataSource
If you are dynamically creating the Sqldatasouce using page.controls.add and it fails when reloading then Try this as a work around
If IsPostBack = False Then
Me.Page.Controls.Add(SqlDataSourcepicking1)
End If
Good luck.
Subscribe to:
Posts (Atom)
Multi Point USB Charger
USB Plug Charger, 4-Port USB Fast Charger Plug with 33W Intelligent Quick Charge 3.0 Wall Charger, Multi USBPower Adapter UK Fast Charging...
-
USB Plug Charger, 4-Port USB Fast Charger Plug with 33W Intelligent Quick Charge 3.0 Wall Charger, Multi USBPower Adapter UK Fast Charging...
-
Today, emergencies happen often. Below is a list of emergency supplies that you should have available. This list is not made in stone. For...
-
If you have a Samsung phone or pad and the keyboard is set to Google give the Samsung one a try. Just go into the keyboard settings and...