|
Attach the below coding in your coding page and try.....
public override void VerifyRenderingInServerForm(Control control)
{
}
|
|
|
|
|
HTML is not a valid format for Excel. You're not using the Excel namespace, it doesn't matter that you included it.
Anu787 wrote: string filename2 = TextBox4.Text;
Why are you using such useless variable names ? Are you trying to make your code unreadable ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hai,
currently i m using asp.net with c# (.net 2005, 2.0 framework)
here i placed a MENU control and added some menu and sub-menus(upto 5 level).
While user clicks any sub-menu link, i would like to do some sort of codings......
how to write coding for a particular item_Click???
help me - KARAN
|
|
|
|
|
HAI ALL
i am usring gridview for some details printing
whn i click on one row model pop should open
how to perform this
pls help me soon
|
|
|
|
|
You'd generally do this with a link to a page that has an id or something in the querystring so it can load specific data. In this case, I assume you're creating a floating div, so you'd call javascript that does something similar.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
when any field in toolbox just drag and drop in panel ..so at that time the field enable 2 move anywhere like constant ... i m using .net2003 plzz wht is option should take .. i know in .net 2005 .. there is a absolute option ..but wht is the option in 2003..
thanks 2 all..
|
|
|
|
|
hi guys can ne1 plzz tell me how to create a code for asynchronous messaging using MQ. for send/rescive and Publisher/Subscriber applications. send me the project or code for the same its very very urgent i hv to gv today evening....
thanks in advance
|
|
|
|
|
anurag_dusaj wrote: its very very urgent i hv to gv today evening....
Sounds like you should have asked earlier then. The only way to do anything asyncronously with ASP.NET is with AJAX. Otherwise, it's a postback and get static page situation. What's MQ ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
anurag_dusaj wrote: ne1
anurag_dusaj wrote: hv to gv
I really don't understand 100% your question.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
He's probably 12 years old. He's using txt speak.
And, as always, someone posts 'this is REALLY urgent', then ignores all replies.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Probably.
Christian Graus wrote: someone posts 'this is REALLY urgent'
I agree with you and that is why they don't get answers for their question,and still they dont use regular written english
By the way I send you greetings,I go to sleep because is so late.
Nice day for you.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
I'm using Subgurim's .NET control for Google maps. It works nicely except when I try to display more than about 15 markers on the map. In that case, it just displays "Powered By Subgurim(http://googlemaps.subgurim.net).Google Maps ASP.NET
Thanks on v3.2 to Comunactivo" in place of the map. Has anyone else experienced this?
This is in a Sharepoint webpart.
Here's the code in my CreateChildControls:
GMap1.ID = "GMap1";
GMap1.enableServerEvents = true;
GMap1.serverEventsType = GMap.ServerEventsTypeEnum.AspNetPostBack;
GMap1.MarkerClick += new GMap.GMap_Handler_ServerEvent_MarkerClick(GMap1_MarkerClick);
GMap1.Click += new GMap.GMap_Handler_ServerEvent_Click(GMap1_Click);
GMap1.enableHookMouseWheelToZoom = true;
Controls.Add(GMap1);
GControl control2 = new GControl(GControl.preBuilt.MapTypeControl, new GControlPosition(GControlPosition.position.Top_Right));
GMap1.addControl(control2);
GMap1.addControl(new GControl(GControl.preBuilt.LargeMapControl));
GMap1.enableHookMouseWheelToZoom = true;
GMap1.enableGKeyboardHandler = true;
And here's the routine to display the markers:
private void showEventsOnMap(DataTable dtEvents)
{
GMarker gm;
litNoMap.Visible = false;
GMap1.Visible = true;
GMap1.resetMarkers();
if (dtEvents.Rows.Count > 0)
{
double lat = Convert.ToDouble(dtEvents.Rows[0]["Latitude"]);
double lng = Convert.ToDouble(dtEvents.Rows[0]["Longitude"]);
GLatLng latlng = new GLatLng(lat, lng);
GMap1.setCenter(latlng, 8);
GLatLngBounds bounds = new GLatLngBounds(latlng, latlng);
string strHTML = string.Empty;
string myDate = string.Empty;
foreach (DataRow dr in dtEvents.Rows)
{
gm = new GMarker(new GLatLng(Convert.ToDouble(dr["Latitude"]), Convert.ToDouble(dr["Longitude"])));
myDate = Convert.ToDateTime(dr["EventDate"].ToString()).ToShortDateString();
strHTML = dr["City"].ToString() + ": (" + myDate + ") - " + dr["Summary"].ToString().Replace("\"", "");
GMarkerOptions go = new GMarkerOptions();
go.title = strHTML;
gm.options = go;
bounds.extend(gm.point);
GMap1.addGMarker(gm);
}
if (GMap1.getBoundsZoomLevel(bounds) >= 0)
GMap1.GZoom = GMap1.getBoundsZoomLevel(bounds);
GMap1.setCenter(bounds.getCenter());
}
string strCSV = (new Utilities()).GetTabDelimited(dtEvents);
dvGTD.Visible = false;
litNoMarkerInfo.Visible = false;
}
I tried adding the markers to the map directly. I also tried using a marker manager. Neither worked and the latter messed up my marker click event handling.
Any help would be appreciated.
|
|
|
|
|
I've added many more than 15 markers, so I know you can.
If you have a question about a specific control, ask the author, or ask people on a forum dedicated to that control. If it's a CP article, there's a forum under the article for questions.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
The problem turned out to be a data issue. When there is an apostrophe in the GMarkerOptions.title property, the map won't display. My code now scrubs the data of apostrophes before assigning that property and, voila, a map with many more than 15 markers is displayed.
|
|
|
|
|
Suggestions please, on reporting libraries I can use in an ASP.NET web site to quickly produce many reports. I've busy looking at telerik tonight, but would like to look at several more in the next day or two.
|
|
|
|
|
What sort of reports ? Don't MS give away the Dundas ones now ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: What sort of reports ?
Reports man, reports. Tables of data with headers and footers, and grouping.
I haven't heard anything of the sort, being Dundas being given away.
|
|
|
|
|
hi guys n grls,
let me describe the issue. I have created the rdlc report, it has got one table and in that table there is one group and one detail. now what i want to do is add the serial number to the detail row.
I tried to use RowNumber(), it displays the number but not serially, I want a serial number listed serially.
|
|
|
|
|
HI
In your DataSet you get DataTable/TableAdaptor and their respective column. This/These Table/s act as just Skeleton to framework.
You can Add a column name SerialNumber (DataType System.Int(32), AutoIncrement True, AutoIncrementSeed 1, AutoIncrementStep 1).
After Build you can Get the SerialNumber field and you can use it in your report into the table.
Thanks
Ravidas
|
|
|
|
|
Hi guys I have noticed same result by trying two different approach.
1). I am simply opening a myfile.html inside a windows form and viewing it through the PrintPrviewDialog. What i have noticed is that if i change the text to some lite blue colour when i do a print preivew the colour isn't the same. It's blue but little dark. I am wondering if this is the default behaviour or is there any possible solution around to it. Has anyone ever noticed that.
2). simply open a html file inside a internet explorer having lite text colour. Do a print preview and u will colour aren't same.
What can be done to get the same colour while print previewing
Thanks in advance
|
|
|
|
|
I know you already asked this in another forum. The reason you're not getting answers is, the question is plain bizarre. A printer is never going to look exactly like your screen anyhow, so who cares if the blue is a little different ?
This has nothing to do with ASP.NET.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: I know you already asked this in another forum.
Thank you for confirming my suspicion. Thought I saw it yesterday.
Christian Graus wrote: reason you're not getting answers is, the question is plain bizarre
Second that.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Thanks for answering but I couldn't put my question any other way due to my vocabulary limitation. Perhaps you are write saying printer is never going to look exactly like my screen. It actually causes a huge confusion if you atleast try what i have mentioned on font color. But for sake of knowledge what is causing this problem, is that the way PrintPreview object being rendered or is that something internet explorer have some bugs.
|
|
|
|
|
netJP12L wrote: . Perhaps you are write saying printer is never going to look exactly like my screen
Your screen has brightness and contrast controls. Given that you can CHANGE the colors on your screen, but not control the printer, it's absolutely true.
I have no idea why it happens. But, it's not really something worth worrying about.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks once again. Sometimes I wish to reply with as much knowledge as you show in your answers. I always look for your replies on the post
|
|
|
|