|
Your code is broken.
Praneeth Babu K wrote: call getendbalance(" + Retailer + ",'13-Jun-2009',@v_End_Balance OUT)
You are passing parameters, so why adding it here? You just need the procedure name here.
|
|
|
|
|
i will correct that one,
how to get the out put parameter in varaible or array,
double RetVal = (double)(cmdEndBal.Parameters["@v_End_Balance"].Value);
is this the the write way.
|
|
|
|
|
I have a webpage with an asp:menu. I have menuItems in the menu. What I want to do is call a javascript function when the menuItem is selected but do not see an onselected or any selection event. Is there a way for me to just call a javascript function and not navigate to an url when the item is selected?
Thanks,
Steve
|
|
|
|
|
I guess you need to look at the HTML that is generated, but I'd imagine if you make your 'url' javascript:myfunction()', that would work.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
When I add NavigateURL="javascript:function()" it only shows a page with the javascript source code? Note: this is an asp:menu.
Thanks,
Steve
|
|
|
|
|
O.K. I got it working!
Thanks,
Steve
|
|
|
|
|
Ok, so let the rest of us know the secret...
Regards,
John McPherson
"Sufficiently advanced technology is indistinguishable from magic."
Arthur C. Clark, inventor of the telecommunications satellite
|
|
|
|
|
What is the best way by which to display summary information for my project on my webform? I need to display it as follows and cannot use a datagrid.
Column Column
Row: Name Name
Row: ID ID
Row: Size Size
With a column for each returned value from the database. There is no restriction to the number of "segments" returned, so I need to this to work if there is one segment or 5. I have a SQL query that accesses the information that I read from. I thought about using a repeater control, but I'm not sure how to do this.
|
|
|
|
|
Looks like you are trying to display tabular data. DataGrid/GridView is best for tabular data.
|
|
|
|
|
Just have the repeater generate a table, and insert the named row, assuming that's what you need. Either way, all these controls create tables, and the datagrid will do it just fine, but you can do what it does easily with a repeater.
By 'segments' do you mean columns ? A gridview is best for this, as it can just autogeneratecolumns for you.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I ended up using a datalist instead of a repeater and was able to solve this issue.
Thanks for your help!
|
|
|
|
|
Hello all,
I have been researching this for the last 3 days with no resolution.
I have an autocomplete extender in a detailsview. The contextKey is set when the detailsview goes to edit mode, but not when it goes to insert mode. So the Web Service will not call the Web Method to execute. I can't figure out how to get it to work.
Can anyone assist?
~Candi
|
|
|
|
|
I know your question was raised over a year ago but just in case it's still outstanding!
I had the same problem. I solved it by using a session variable to pass the contextKey variable into the Webmethod.
|
|
|
|
|
That is what I ended up doing. THanks though for responding!
~Candi
|
|
|
|
|
Hi, I have 2 projects A and B. Both of them depends eachother. (A->B and B->A)
How can i solve this circular dependency?
But im asking a solution, without adding another project.
Does anyone have an idea how to solve this?
thanks.
|
|
|
|
|
You have 3 choices.
Move all shared code to project A.
Move all shared code to project B.
Move all shared code to a new project.
Pick your poison.
I didn't get any requirements for the signature
|
|
|
|
|
So, except these solutions, can not i solve this problem?
|
|
|
|
|
I would have thought that the answer given was common sense, and it's common sense that these are the only solutions.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: I would have thought that the answer given was common sense
It has frequently been reported that common sense isn't very common.
|
|
|
|
|
Sure as hell doesn't show up in this forum too often....
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
This implies there is something worng with your model and you either need another project or A&B sould be merged into the same project.
|
|
|
|
|
Hi all,
Let me first tell u wat I am trying to do.I have created a webpage with a button.On the click of that button(html control)I am opening a new window (as a popup).Now in this new child window I have some text boxes.I enter data in those textboxes and when I click a button,I want them to be sent to the parent window without the initial content of the parent window getting lost.Please suggest me a way to do so.I have been trying javascript but to no avail.Please help me out.
|
|
|
|
|
in your popup window:
function OnSomethingClick()
{
var el = window.opener.document.getElementById('SomeLabelOrOther');
el.innerText = "Something else";
window.close();
}
This works for IE... havent tested with FF yet. Will do in a minute.
Just did. Doesn't work in FF.
var question = (_2b || !(_2b));
|
|
|
|
|
Well thanx for helping me out.I m just gonna try this code.Anyways,can I try something like this?:
el.innerText=document.getElementById('Something').value;
It is because I need to pass a textbox value from child to parent.
|
|
|
|
|
Thanx for ur help...It works !!!
|
|
|
|