|
ok the simple question .. how to update values from gridview, when gridview update link is clicked??
thnx in advance
|
|
|
|
|
I posted in here the other day about getting a result from a popup window holding a calendar and the reponse I had was very helpful and that is since working. I am now moving on to the next section. This is where the user can select multiple things in a pop up window and pass them back or just one, or all. I have set it up so a list box displays all the areas that they can chose from and then along the bottom are the options to select all, or they can select individual items from the list box and click ok. The all bit is working fine as that’s just a matter of passing back a string that says all, which is similar to that of passing back the calendar date. However the multiple selection option is proving more difficult so far I have it set up so each item that they have selected is saved into an ArrayList. Is it then possible to pass back the ArrayList and populate a multiline text box with the values in the array list, I presume the passing back of the ArrayList would be fairly similar. It’s the displaying of the values with in it I am having trouble with.
Any help as always is greatly appreciated.
"When will I learn? The answers to life's problems aren't at the bottom of a bottle. They're on TV" - Homer Simpson
|
|
|
|
|
Nice to know that yestradys code working fine. and i was confident on that. any way , can you me more specefic on your problem. i am not getting actually.
please confirm. I will try my best to help you !@@
|
|
|
|
|
I have a list box in a popup window wher ethe user can select area's then when they click ok it passes the area's they have selected on the main window.
so they open the popup select say (area1, area 3, area7) outs of a possible list of ten. Then when they click ok on the original screen that they opened the popup from it displays...
you selected...
area1
area3
area7
as a simple example.
however when the user selects all the areas via the button "All". its will just show
you selected...
all
I currently have the all bit working following your example with the calendar. Its getting the multiple values working. I orginally thought of adding the value of each one they have selected to an array and then passing the array back. Its then getting it to display the values that are stored in the array i.e area1, area3, area7.
Thanks for the help.
"When will I learn? The answers to life's problems aren't at the bottom of a bottle. They're on TV" - Homer Simpson
|
|
|
|
|
you can add the elected iteam a string with some Delemiter and pass it to main window and the just split the string with the delemiter.
|
|
|
|
|
Thank you i was just looking into this cheers for the help.
"When will I learn? The answers to life's problems aren't at the bottom of a bottle. They're on TV" - Homer Simpson
|
|
|
|
|
great!!!! did you read my today article. ?
|
|
|
|
|
No I haven't. Will have a look now.
"When will I learn? The answers to life's problems aren't at the bottom of a bottle. They're on TV" - Homer Simpson
|
|
|
|
|
Is there a way of temporarily disabling a SharePoint workflow for a list item?
I have a situation where I send out an email if a list item yes/no box is checked. The workflow is triggered when a list item is either added to the list or updated, allowing for either immediate notification when the item is added, if it is complete, or deferred notification if the list item is not yet complete when added but completed at a later date.
In addition to sending out the email in the workflow I would like to update a list item field with a date/time stamp of when the email notification was sent and un-check the yes/no box so if there is a failure to deliver the email it can be sent again by checking the box. The problem is if I update the list item the workflow will be triggered again which is what I would like to avoid.
I would like to have the workflow only execute when a manual update is made but not when the automatic update from the workflow itself alters the list item.
If I could temporarily disable the workflow for the individual list item while I update it and then enable it again I could accomplish this.
If anyone knows how I can accomplish this please let me know.
|
|
|
|
|
Hi I have installed vs2008 and I already have a project on source safe 2005 and vs2005
When opening it in vs2008 it tells me to convert to vs2008. If I say yes, it tells me whether I want to convert to .net framework 3.5 or leave in 2.0. I am telling it to leave in 2.0. It checks out the solution and the project and opens normally in vs2008. But when I debug, I am getting the following error.
Error 4 Cannot write to the output file "C:\Users\pc\Desktop\projectname\BusinessLayer\obj\Debug\BusinessLayer.Resources.resources". Access to the path 'C:\Users\pc\Desktop\projectname\BusinessLayer\obj\Debug\BusinessLayer.Resources.resources' is denied. BusinessLayer
I have tried to delete debug from BusinessLayer and then rebuild but another problem pop up
Error 3 Unable to copy file "obj\Debug\BusinessLayer.dll" to "bin\Debug\BusinessLayer.dll". Access to the path 'bin\Debug\BusinessLayer.dll' is denied. BusinessLayer
Any ideas. It is urgent please and thanks in advance
|
|
|
|
|
Better if you put your question on Visual Studio Forum
|
|
|
|
|
Hi,
I am working on a dotnet 3.5 project where i need a customized google search box in my application. There are some results which i need
The search box should search only within a particular site/sites
The search box should search only selected directories within a site
The search results page should not show google logo and i should be able to customize the search results
(for eg by default the google search results page will show all search results on a single page , I want to divide the page into two frames and left side i want to show the results in xml,xsl format and right side i want to open the documents)
Any such type of service google is providing pls reply me
Regards
Jabbar
jabbarsb
|
|
|
|
|
If you don't know how to find the google site yourself, how do you hope to interact with it ?
jabbarsb wrote: The search box should search only within a particular site/sites
Easy
jabbarsb wrote: The search box should search only selected directories within a site
Not sure if it's possible
jabbarsb wrote: The search results page should not show google logo
If this is possible at all, I expect it would cost quite a bit of money.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: jabbarsb wrote:
The search results page should not show google logo
If this is possible at all, I expect it would cost quite a bit of money.
Good one chris. Google worth lots of money now
The Developer - CEH
|
|
|
|
|
hello
i have a javascript function in which i m calling another javascript function but there is error in passing arguments saying undefined..plz help me out..
function imageview(position,count,imgFile)
{
preview = window.open("", "","resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no");
preview.document.write('<title>'+imgFile+' <\/title><\/head>'
+'<body onload="javascript:timer('+position+','+count+','+imgFile+');" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">'
+'<center>'
+'<a href="javascript:self.close()">'
+'<img border="0" alt="Image loading please wait...." id="IMG1">'
+'<\/a>'
+'<div id="timer"></div>'
+'<\/body><\/html>');
preview.document.close();
}
Thanks </img></a></center></body>
|
|
|
|
|
Please check whether JScript.js is accessible or not from this function
Cheers!!
Brij
|
|
|
|
|
|
yor code is not understanble. Please repost.
if you are talking about Argument on java script , use
function MyFunction()<br />
{<br />
var args= MyFunction.argumets<br />
alert(args[0]);<br />
}
you can now pass any number of argumetns and cas access as args[0], args[1] etc... .
|
|
|
|
|
which are these arguments..gives args[0] undefined..
|
|
|
|
|
Insert the statement "debugger;" as the first line of the function that is failing. This will allow the VS debugger to stop on this portion of the script, and let you examine the arguments and the call stack (the JS call stack).
Really though, this looks like the hard way of doing things. Why not just create a shell page with all the HTML you need and then load it with window.open() Then you can just manipulate the parts you need to with using javascript.
|
|
|
|
|
I have a gridview on one user control and and a button on another user control when a button is clicked then a data is inserted in the table(database) now how can i reload the user control which contains a gridview
|
|
|
|
|
Hi
I am again in need of the professionals on this form. Thanks for the help in past.
I have freetextbox,a dropdownlist and a button in my application. when ever user selects a value in dropdownlist and presses button that particular value should be inserted on the cursor location in the freetextbox. if any one have any sample code or any idea as to how to achieve this please reply.
Thanks
|
|
|
|
|
I suggest you click reply to my post, then view source. Have a look at the javascript that is run when you click 'quote selected text' on this page. Assuming it's in the page, and not an external js file, but, you know you can type the path to those js files into the browser, in order to view them.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
thanks christian
is there any way to do the same in code behind using c#.
|
|
|
|
|
Well, yes, but of course, if you do that, the person is going to see their page disappear and refresh, so that's not really as nice a solution. C# code obviously only runs on postback, unless you use AJAX, and why would you use AJAX to do somethign you can do on the client ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|