|
hi everyone,
im a asp.net newibe and i have a question regarding a method of work.
my issue is as follow:
in my form i got some control that can be drag by a client.
the amount of controls is dynamic.
in the server i got an array that holds each control coordinates.
I captured the drag event in the client and i can keep the new coordinates in the client-side.
the problem is how do i update the coordinates array in the server without a postback????
saving them in a hidden parameter is a good idea in case you have a known amount of controls but if the number is unknown i need to create a hidden parameter for each control.
do you have any idea for an algorithm that could help me
|
|
|
|
|
shovaly wrote: the problem is how do i update the coordinates array in the server without a postback????
Of course you can't do anything on the server without communicating with the server. If you mean without posting the entire form then you are asking about using some form of Ajax or Remote Scripting. You can Google both of those things and find tons of information.
led mike
|
|
|
|
|
OK thanks,
but finally i used cookies in order to save the contorol coordinates
|
|
|
|
|
Is there a way to make a button that will make a specific pane show in an accordion?
Example:
I have 5 panes. In each one I would like a button that says Next. You click it and it automatically expands/goes to the next pane.
|
|
|
|
|
Are you saying use DIV instead of an accordion?
|
|
|
|
|
Ok.. so I guess you cant do the accordion thing? I was wanting to do that..
|
|
|
|
|
Hi,
I am using .net 2.0. I created a class file "condb.cs" in my website. I declared a variable in Globale.asax. I can access that value in first.aspx.cs page and i can't access that value in condb.cs file. Please help me to retrieve the global value in .cs file.
Thanks.
|
|
|
|
|
Why not to use application variables? like:
Application[key] = value;
Intelligence is almost useless for those who have nothing else!
Email: caiokf@gmail.com
|
|
|
|
|
Hi,
Application variables can be used in aspx.cs files only. I have to access it in a separate .cs file. So, now I used HttpContext to access that global variable. If you know some other methods for that please refer me.
Thanks.
|
|
|
|
|
Application variables can be accessed in separate .cs files using:
HttpContext.Current.Application[key]
Intelligence is almost useless for those who have nothing else!
Email: caiokf@gmail.com
|
|
|
|
|
Hi,
Thanks for your quick reply. I tried the method you have given. I got it right. Thanks.
|
|
|
|
|
Hallo,
I have a ajax modalpopupextender which pops up a panel for a button click. Every thing works fine
The popupcontrol panel has some controls, one of them is a label which is DynamicControlID for the popupextender.
I am rendering a radiobuttonlist dynamically. I am creating ListItems and adding them to Radiobuttonlist, and it is rendered.
Problem:
The text of some of the radiobuttons exceeds the panel width (i do not want to increase the width of panel). How to wrap the text of radiobutton, so that it can appear in a multiline.
For example after rendering the text is as below:
<table id="Table1" border=\"0\" style=\"font-size:Medium;width:40%;padding-top:24px;\">\r\n\t<tr>\r\n\t\t<td><input id=\"RadioButtonListCCList_0\" type=\"radio\" name=\"RadioButtonListCCList\" value=\"1316\" checked=\"checked\" /><label for=\"RadioButtonListCCList_0\">AR,AT,AU,BA,BG,BO,BR,BX,CA,CH,CL,CN,CO,CR,CU,CZ,DE,DK,DO,DZ,EC,EG,EM,ES,ET,FI,FR,GB,GR,GT,HN,HR,HU,ID,IE,IL,IN,IS,JP,KE,KR,MA,MX,MY,NO,NZ,PA,PE,PH,PL,PT,RO,RS,SE,SI,SK,TH,TN,TR,TW,US,VE,VN,ZA</label></td>\r\n\t</tr>\r\n</table>
Thanks for the help
|
|
|
|
|
Hi,
I am using vb.net and db2 database for my application. When I open attachments in my local webserver, the attachments are opening properly. But I am facing problem when I try to open same attachments in Test envoirnment, I am getting error message because datareader is not reading BLOB data from database.Its giving the BLOB of length zero.
It seems there is some problem with IIS settings. Please help me to solve this problem.
Note: Attachment data is saved in database.
Thanks in Advance
|
|
|
|
|
BLOB is binary data. I guess either IIS or Firewall puts restrictions on transferring data like that. You might wanna test it by disabling the firewall.
|
|
|
|
|
Hello guys
I have following function to get the list of email address from the database. When i pass this list to mail message BCC function in gives me the error which i have mentioned in subject. Please help me out
public void getEmailtoUsers()
{
DataTable getemailList = news.getEmailList();
foreach (DataRow objDr in getemailList.Rows)
{
emails += objDr["Email"].ToString() + ";";
}
emails = emails.Substring(0, (emails.Length - 1));
}
// email sending function
applicant.From = new MailAddress("support@supportimrankhan.org", "Support Imran Khan");
applicant.To.Add(new MailAddress("imran.hamid@supportimrankhan.org", "Imran Hamid"));
applicant.Bcc.Add(new MailAddress(emails));
|
|
|
|
|
<b>Hi dear friends,
I am using VS2005,i would like to know about that how to display the datagrid details in on page to an another page lable.
Thanks & With Regards,
M.S.Amirtharaj Vijay</b><b></b>
|
|
|
|
|
Can you explain again in English please.
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
Please use proper subject.Describe your problem little bit more
Cheers!!
Brij
|
|
|
|
|
Better subject line and more clear inquiry may allow people to help you better.
"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
|
|
|
|
|
Hi ,
I need to implement nested collapsible panels.
each collapsible panel from main , will hold few more collapsible panels
Will Ajax toolkit collapsible panels slow down the performance.
DO anyone have any feedback for a new bee.
regards
vijay
|
|
|
|
|
I am opening a .aspx page on button click event. can any one tell me how to hide the title,minimise and close button of the .aspx page. i want that the page looks like a popup window.
thanks
|
|
|
|
|
The problem is that a user should be able to see these buttons. Its difficult to change the browser display to customize for a user.
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|