|
i am using asp.net 2.0 C# .
due to data flow i manage to get row wise record column wise but that record show one null row .
i am fetching that record in datatable object and assigning to gridview
i want to know is it possible to remove datatable row where record is null then assign to gridview.
please help
regards
imran khan
|
|
|
|
|
I have a list of forms on the left side of my page, and to the right of that a GridView that displays information about reports linked to the form selected on the left. My problem is that the GridView only sizes for its contents, not its container, so when a form has only two reports selected, I have an ugly looking, fixed height forms list on the left, and a short little GridView on the right. How can I make at least the GridView border the same height as the list to its left? I've tried Height="100%".
|
|
|
|
|
I am able to place 2 ASP checkbox in a webpage. But it works differently.
If i select the first one, and then second both gets checked.
I want to check only one box..
How can i do this....?
Do i have to code for that in javascript or set any properties...?
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
sajan ss wrote: But it works differently.
If i select the first one, and then second both gets checked.
This is strange. Do you have any JS code running which does this ?
|
|
|
|
|
I am new to ASP .NET. We dont want to use Javascript.
IS there any other method.?
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
How can i convert an xml File into Image.
VanithaVasu
|
|
|
|
|
VanithaVasu wrote: How can i convert an xml File into Image.
Your question doesn't make any sense. How an XML file can be converted to image ?
|
|
|
|
|
I have to display the xml file in one of my module at the mouseover.So only i am trying to convert to image and display on mouseover.
VanithaVasu
|
|
|
|
|
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.
|
|
|
|