|
On mouseover, dynamically create a div element and render your XML document within the div . Then insert the div into the DOM. The creation of the div is a couple of javascript lines, and you can Ajax off to the server and get the xml, or take the easy option and embed an iframe in the div and set the src of the iframe to your xml document. I don't use iframes so not sure if this is best practice or not.
You really don't want to start converting text to graphics.
so you answer don't be scared of failure
The only failure is never to try
Things You've Never Done - Passenger -2008
|
|
|
|
|
Dear Friends,
Am Having Exe file alone but now i want a code for that Particular Exe how can I get the code? Please Help me,
Thanks In Advance,
|
|
|
|
|
I don't think that you can get the code for it. EXE files will be in a stage ready to execute. So disassembling won't be possible. BTW, why this in ASP.NET forum ?
|
|
|
|
|
Download Reflektor, and an addin for it that will save the code files to your file system.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How is it possible to display only header text and footer textbox of a gridview when there is null data in the gridview. I want to add data with the help of footer textbox.
|
|
|
|
|
bippi wrote: How is it possible to display only header text and footer textbox of a gridview when there is null data in the gridview.
Possible. You can do it in two ways.
* You can use EmptyTemplate, and design your add data screen. Your have to mimic the header and footer hear.
OR
* Add an empty DataRow in the DataTable which you bind to control, and bind it to the GridView. Automatically you Grid will show up. Use your own code then.
|
|
|
|
|
Hi,
I am creating update panel in code-behind files. So for adding controls to this update panel i want to use contenttemplate(in code - behind files),as we can't add controls e.g. gridveiw directly to the update panel.
But i am not getting how i can create contentTemplate in code behind files and can add controls to it.
Please help!!
Yogesh.
Yogesh Pekhale
pekhaleyogesh@gmail.com
|
|
|
|
|
Hi All
I open a popup page by clicking on a hyper link in gridview. On this popup , there is are somevalues filled by user and there is SAVE button to save. when user click this SAVE button the content saved in database and the popup closed. its doing well.
when I click on SAVE button there is some code on Page_PreLoad to identify the reason of postback, if SAVE button is being clicked, then all data saved into databse.
code on Page_PreLoad :-
string strButtonID = Request.Form["__EVENTTARGET"];
if (strButtonID == "Button1")
{
Save();
}
but problem is that this fuction being called two time because when I clicked on SAVE button page postback twice.
I also try to check using ViewState. but i am unable to get the value os ViewState in Page_PreLoad.
is there any way to find that this "Save()" function has been executed already.
can anybody help me ASAP.
thanks.
|
|
|
|
|
$unil Dhiman wrote: when I click on SAVE button there is some code on Page_PreLoad to identify the reason of postback, if SAVE button is being clicked, then all data saved into databse.
code on Page_PreLoad :-
string strButtonID = Request.Form["__EVENTTARGET"];
if (strButtonID == "Button1")
{
Save();
}
Strange. When ASP.NET supports event handling, why you are re-inventing the wheel ? What about calling the Save() method inside button click event instead of preload event ?
|
|
|
|
|
hi Navneet
because i write some javascript code to close the popup.
if i write this in Button_Click. then popup closed without saving data.
i write this in page_Load to close popup and as well as to refresh the parent page.-
this.Button1.Attributes.Add("onclick", "javascript:window.returnValue = window.dialogArguments;window.dialogArguments.location.href=window.dialogArguments.location.href;location='DealCount.aspx';self.close();");
plz provide some solution.
thanks
|
|
|
|
|
$unil Dhiman wrote: if i write this in Button_Click. then popup closed without saving data.
Redirect to other page instead of closing. Then close the page in the new page. This won't make any problem.
|
|
|
|
|
You can't - viewstate has not been restored yet at this point. You need to rethink your design, and perhaps do some reading on how viewstate works.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
Recently i converted my project from 1.1 to 2.0. I have a page where the user enters some numbers in 4 text boxes and 10 values are calculated using some formulas with javascript. When i click save button these 10 values were available in my code behind. But when i converted to 2.0, the 10 textboxes show blank values....what should i do... pls help....
|
|
|
|
|
newbie.net wrote: But when i converted to 2.0, the 10 textboxes show blank values....what should i do
Are you clear the TextBoxes in the Page_Load event?
Could you please post your ASPX code and Page_Load event code?
|
|
|
|
|
|
Hi All
I have a web service that was not working and bringing up the dreaded internal server error page.
I have this web service working on another server so i know code wise it works but could not get it to work on my new server. I tried other web services on my new server and they work fine. Just not this particular one. i changed the network indentity to local system in the application pool and the web service works so was hoping someone had any clues where i should look to fix this issue as i dont want it running under the local system identity.
one last thing this webservice uses a com object.
any help appreciated
cheers
|
|
|
|
|
iam using two asp.net pages in which if i click link button in page1 it should redirect the next page .for this iam using response.redirect.the requirement is that iam fillng somme values in the page1 and iam going to page2 now after doing some changes in the page 2 and iam again comming to the page1 the values whic i enter in the page1 should retain and the changes made in page2 will effect in the page1.
|
|
|
|
|
Make both pages user controls and swap which is visible during this process, viewstate will do the rest. Or, pass the values back and forth on the URL, this would require the user not using the back button, but a control that nagivates back to page 1 with the variables you need on the URL
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi
I have html body content in that there are div tags,images ,text.i want to convert whole body content to image and i want disaply that image in browser.
I am using asp.net with c#.net
pls provide me code or gudline
Thanks
Pritesh Patel
|
|
|
|
|
Hi
I have html body content in that there are div tags,images ,text.i want to convert whole body content to image and i want disaply that image in browser.
pls provide me code or gudline
Thanks
Pritesh Patel
|
|
|
|
|
You need to do this dynamically ? Your best bet is to run the html into a client side app that runs IE, grab a screenshot, and push it down to the web page.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank for reply.
but i need image of one div tag not all tags in html page.
acn you provide me source code
Pritesh Patel
|
|
|
|
|
pritesh_patel wrote: but i need image of one div tag not all tags in html page.
Then put only the div tag in the page and take a screen shot. There is no other way to convert HTML rendered output to image.
|
|
|
|
|
I am creating a table less page but a div which i want to place at bottom, comes in between and overlap some data.
How to place that div always at bottom of page (not on bottom of screen)??
Thanks in advance
Gaurav
|
|
|
|
|
G.K.M. wrote: (VERY VERY URGENT!!!)Div alignment problem
Please read this[^]. It's very urgent and you will get the solution.
|
|
|
|