|
i want to chage the value of cell with out refreshing the page via ajax.
any one knows plz help me asap.
|
|
|
|
|
Well, first of all, a datagrid means you should ask in the ASP.NET forum.
In what circumstances do you want to change the value ? What do you expect to trigger the AJAX call ? The server cannot send data via AJAX, that is, the trigger cannot be on the server, the client has to ask for it.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 all,
I have an asp.net application which generates a set of reports using reportviewer and rdlc files..
The problem is that on a few of the laptops the page covers up only half of the entire screen..
Secondly, the reportviewer controls are getting overlapped..
Has anyone come across such probs and can help me out..
How could i debug or search the reasons for such a problem??
Thanks in advance
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
There is nothing to debug, the resolution on your notebook is smaller than the resolution you wrote the page at. You need to redesign it to work on a smaller page, or accept that it doesn't work well on that small a resolution.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Thanks christian for replying..
Actually this problem occurs only on some laptops..
And its the bigger laptop screen that causes the problem..
Is there anything you might know that can be set/reset that makes it to take the actual resolution of the screen or something..
or probably a field or function that cares of the resolution setting for a webpage??
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Hi.
I want to display some picture basced on x and y co-odinates(screen resolution) on the client screen.I have no idea for how to solve this problem.Please help me.
ThankYou,
Rasma.
|
|
|
|
|
You can use css to float the image and position it.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
There's actually nothing you can do in a web page that will affect the resolution of the screen on a client machine.
So stop worrying.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Good point....
Christian Graus
Please read this if you don't understand the answer I've given you
"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 All.
I am messing about with a game called EVE-Online where i would like to gather som data from an XML feed.
I am working in classic ASP, (yeah yeah ASP.net can do all this for me but i neither have the skills nor the time to convert the rest of my prog to asp.net.. )
The XML i need to gather data from is here http://www.elefantnet.dk/xml/eve.xml[^]
Also some other XML's will come in handy over time but right now this is it.
Anyway i can't get my head around this stuff... Usually i like to build my apps so they are more or less "generic"...
What i would really like is to write a parser that is not hardcoded to "decipher" the XML, but more like would find out what the XML offers.
I am trying something like this:
Retrieve the XML and load it as XMLDomDoc
Function showFeed(url,userxID,fullApixKey)
Dim webServiceUrl, httpReq, node, myXmlDoc
userid = "12345"
charID = "123456987"
fullapikey="thisisasecret"
webServiceUrl = url & "?userID=" & userid & "&ApiKey=" & fullapikey & "&characterID=" & charID
response.write(webserviceurl & "<br>")
Set httpReq = Server.CreateObject("MSXML2.ServerXMLHTTP")
httpReq.Open "POST", webServiceUrl, false
httpReq.Send
Set myXmlDoc =Server.CreateObject("MSXML.DOMDocument")
if myXmlDoc.load(httpReq.responseBody) then
<big>displaynode myxmldoc.ChildNodes, 0 '**** This function should handle iteration through all the nodes ...</big>
else
response.write("horse! Content not very nice!")
end if
Set httpReq = Nothing
End Function
After this i get stuck, right now the most important issue for me is to go through the Rowset in the bottom of the doc, and update my local database with this content ...
I know this might be a biggie, and that maybe the answer from all would be ASP.net but ... Plz let me know if you have any way of helping me out here.
|
|
|
|
|
I've been trying to do the same thing (also in "classic ASP"). Ever figure it out? I'm going to keep working on it and will let you know if I come up with a solution.
Paul
|
|
|
|
|
I am displaying a GridView on some specific criteria which is entered by some textboxes say studentid, studentname as input from textbox and show records in GridView.
For this I m using a stored procedure which returns a datatable based on inputs came from textboxes.
I want an Edit button in the Gridview on click of which a with some label and textbox controls get displayed with prefilled entries.
For this I want the datarow from the datatable got from the stored procedure, from where I will get the complete info. Also I want to edit the data.
How can I get the row details of specified Edit button row and which way is better put a command button control in ItemTemplate of GridView or use a Buttonfield cotnrol inside the GridView?
I am working in ASP.NET2.0 and C#.
I m not getting the correct way, can anybody suggest me?
Thanks in advance,
|
|
|
|
|
I am displaying a GridView on some specific criteria which is entered by some textboxes say studentid, studentname as input from textbox and show records in GridView.
For this I m using a stored procedure which returns a datatable based on inputs came from textboxes.
I want an Edit button in the Gridview on click of which a with some label and textbox controls get displayed with prefilled entries.
For this I want the datarow from the datatable got from the stored procedure, from where I will get the complete info. Also I want to edit the data.
How can I get the row details of specified Edit button row and which way is better put a command button control in ItemTemplate of GridView or use a Buttonfield cotnrol inside the GridView?
I am working in ASP.NET2.0 and C#.
I m not getting the correct way, can anybody suggest me?
Thanks in advance,
|
|
|
|
|
You can edit a particular datagrid row using EditCommand event of the datagrid.
i attach code below:
private void Edit_DataGrid(object source,System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
// We use CommandEventArgs e to get the row which is being clicked
// This also changes the DataGrid labels into Textboxes so user can edit them
myDataGrid.EditItemIndex = e.Item.ItemIndex;
// Always bind the data so the datagrid can be displayed.
}
thankyou
Rasma
|
|
|
|
|
To use RowDataBound to find Id in each row:
<asp:gridview allowpaging="true" pagesize="5" autogeneratecolumns="false" id="GridView1" runat="server" datasourceid="SqlDataSource1" onrowdatabound="GridView1_RowDataBound">
<columns><asp:boundfield datafield="studentid" headertext="Student ID">
<asp:boundfield datafield="Name" headertext="Name">
In code behind:
protected void Page_Load(object sender, EventArgs e)
{
//Accepting the Id of a clicked row.
string id = Convert.ToString(Request.QueryString["id"]);
}
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
string id = e.Row.Cells[0].Text.ToString();
e.Row.Attributes["onclick"] = "window.navigate('samewebpage.aspx?id=" + id + ")";
}
}
you can access id from page load, reading the entire data of corresponding id using datatable or datareader and display the contents in a textbox or label.
Thankyou,
Rasma
|
|
|
|
|
I'm trying to show japanese character on the page and to sent mail.
To show on the screen, I've to save as the following format in SQL Server.
"
ƒtƒBƒŠƒbƒvØŒ"ƒIƒ"ƒ‰ƒCƒ"ŒûÀ\‚µ "
and use encoding "shift-jis".
It is showing correctly at browser.
But if I send mail that message, it can't be shown on some mail.
eg. gmail and hotmail can show but yahoo can't show correctly.
If I store as the following format in SQL Server, it can show correctly on most of the web mail.
"
& #12458 ; & #12531 ; & #12521 ; & #12452 ; & # 12531 ; & #21475 ; & #24231 ;
"
Can anybody explain about these formats?
Can anybody advice me for the best practise dealing with unicode character?
I would like to use same format to show and to send for unicode character.
I'm using classic ASP for server side script.
Thanks in advance,
Mann Khine
|
|
|
|
|
Have you tried using nvarchar columns in your database?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Yes Bob,
I used nvarchar columns.
|
|
|
|
|
Just a thought, suspected you already had. Could it be the format of the mail message? I know there are problems with extended charater sets when the email client only displays plain text.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
HI
anybody has a sample program (with VBscript or JAVAscript) to read from an XML file to a simple form (include a text field and a check-box or radio-button) and load dat of these controls and then save changes again on XML file by pressing a "save" button.
I need for classic ASP (not ASP.NET)
thank you
|
|
|
|
|
What a nightmare.
There's a COM object that manipulates XML, from memory, a DOM implimentation that is probably part of IE. I seem to recall that's what I used when I Was trapped in the hell of 'classic' ASP.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Guys,
If this is not the right place pardon me and tell me the right forum.
I just want to know if there is a limitations when sending email using Microsoft ESMTP mail server for TO and CC recipients. my web page is sending around 30-40 recipients in TO and 20-30 recipients in CC (email address) for notification?
When I tried to check our application server there was no error on the application event and it seems that the message was sent ok but after 1 hr of waiting no mails arrived in our inbox. Is there any constraints?
If I used the same number of email add using the microsoft outlook it works fine though outlook is using a different email server.
Hope to hear from you soon, our users are already complaining because it is a real-time notification and they reply on this process.
Regards
Dabsukol
|
|
|
|
|
Did you check your MailQueue folders on the server for any BadMail? Any messages in the eventlog?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Hi all,
I m a Software Developer, now working on VC++ 2005, i dont have any idea about web development.
I want to know the procedure for developing a web site.
please help me for this.
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
ThatsMe. wrote: i dont have any idea about web development
Employ someone who does.
ThatsMe. wrote: I want to know the procedure for developing a web site
What type of site do you want, what language do you want to use etc etc - try Google for some books/articles, its a massive subject.
Bob
Ashfield Consultants Ltd
|
|
|
|