|
You mean pass data from one grid to another ? On the client side ? On the client side, it's all just tables and divs, you can do whatever you like if you write javascrpt to do it. The real queston is, what exactly do you hope to achieve, in particular, is it for presentation only, or do you want the back end involved in some way ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi!!
What I want to do is that .. suppose I have a main grid which has main category items Now when I click on any item in main category a grid of subcategories should populate and come up .
Mrinal
|
|
|
|
|
Oh, a master child view ? Yes, that's easy. You would probably postback to create the child view, then it becomes easy. The selected item provides the data to populate the child grid on postback.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
struggle hard than it will be done
now start
|
|
|
|
|
Hi,
i am developing a web application in vs 2005. the problem that is face is that every time i start up my VS, my startup project gets changed to another project(namely my DAL).
though i get around it by selecting my web folder as the start up project, but would like to ask you all, if there is an alternative to it.
Kunal
|
|
|
|
|
Hello to all.
I have one textbox which has a facility of autocomplete and the autocomplete criteria comes from the database.
example:
if i enter "a" in textbox the words starting from "a" appear in the listbox below the textbox.Now i have done coding in such a way that if i press enter in the listbox then the word in the listbox is filled in the textbox and the listbox disappears.
sql tables used:
Table1:
AID int, AName varchar(50)
Table2:
Aid int, ADescription varchar(200)
The text displayed in the listbox is AName. I want to display the no. of records of ADescription having Aid that has Aname from Table1.
I want to display that records as soon as the value in the listbox is selected.In which event should i write the code.
Please help me.
|
|
|
|
|
You need write the code on post back of control mean set the auto postback true property of textbox.
Each post back of text box get the record from the database via Like clause of select statement.
Or you can use Ajax for implement it.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Thanks. But i have used the textbox of html(input type="text") and i am using javascript function.Through javascript function i am passing value of textbox to the other aspx page and from there through querystring that value is fetched and then select query is fired.
What should i do?
|
|
|
|
|
Hi Everyone,
I am using a web part in a page for the first time.To try how it works i did in a sample page where i first added a webpart manager and a webzone with a label control with some text.
When i try to run i get a run time error saying
"When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
I dont have sql server in my local machine but should it be needed.I am not trying to connect to database. Then why i couldnt run.
Kindly clarify me
Thanks,
Srikanth
|
|
|
|
|
You have obviously written code that expects to find SQL Server somewhere. Perhaps that's what webparts are persisted to, by default ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Then should i have to specify the connection string somewhere??
Thanks,
Srikanth
|
|
|
|
|
Hi,
I am using gridview which has autogenerate column. Also I want to use template column in the gridview which contain dropdownlist. by default it is taking the template columns before the autogenerate columns. I want to disply it after the autogenerate columns.How can i do this????
Thanks & Regards
Mishra
|
|
|
|
|
Hi Ballita,
Do One Thing as u r functional requirement.
once ur template column created, then
go to the presentation logic and change the portion of the template colunn to the last place of the grid view control.
like
<asp:gridview runat="server" id="grdDet" backcolor="#DEBA84" bordercolor="#DEBA84" borderstyle="None" borderwidth="0px" cellpadding="3" cellspacing="2" datasourceid="SqlDataSource1" width="402px" height="125px">
<footerstyle backcolor="#F7DFB5" forecolor="#8C4510">
<asp:templatefield headertext="asdas">
<itemtemplate>
<asp:button id="Button1" runat="server" text="Button" width="126px">
.
.
.
.
<asp:gridview runat="server" id="grdDet" backcolor="#DEBA84" bordercolor="#DEBA84" borderstyle="None" borderwidth="0px" cellpadding="3" cellspacing="2" datasourceid="SqlDataSource1" width="402px" height="125px">
<footerstyle backcolor="#F7DFB5" forecolor="#8C4510">
<columns>
Hope to drop a mail if functionality has done.
Thanks & Regards
Tarun Singh
tksingh@zentagroup.com
Sr. Software Engineer. (IT)
ZENTA
|
|
|
|
|
hi all,
i have developed a web page in one machine and copied the complete project to the other machine. i get the following error,
allowDefinition='MachineToApplication'
can any one help me,Thanks in advace
Thanks
Subbu.
|
|
|
|
|
Have you created virtual directory ?
|
|
|
|
|
I created a javascript file and called the function in the page_load event with btn.Attributes.Add("onclick", "return validate"); after adding this line my validators are not working. And the control is not entring the .js file at all. what is the reason?
Be Well
Regards,
Prog-fan
|
|
|
|
|
Try calling this way:
btn.Attributes.Add("onclick", "javascript:return validate();");
if not working then post the aspx and js file code.
|
|
|
|
|
try this
btn.Attributes.Add("onclick", "return validate();");
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
First be sure you had written this code in your
section
and then try to call submit function in form's onsubmit event like
it will be better to call function here. Because when u call func here it will call it before submitting the data while in buttons click event after submitting data.
I hope it will work fine. Other wise put your code for both file here.
|
|
|
|
|
I have created one website on .net 2005 On Local system.now i want to host my website on IIS seever.Wt i tried is i created one virtual directory and Copied al files to that directory then it gives the error page can't be displayed.Then i created new website on IIS and added those files to the website but while executing the website it gives me message unable to start debugging on the server "See ATL server debugging topic".
Wt could be the reason??
GIRISH
|
|
|
|
|
Try after re register your framework:
run this command-
C:\Windows\Microsoft.net\framework\v1.1.4322\aspnet_regiis.exe
and also make sure in config file:
<compilation defaultLanguage="vb/C#" debug="true" />
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
|
In Your Code,u r not provide the code functionality , What exactly u want ! that is,try to write code for capture first. than save the type as *.*|*.*| by using filter property of save dialog box.
Thanks & Regards
Tarini Singh
Sr. Software Engineer. (IT)
ZENTA
|
|
|
|
|
Hi Piyush,
Find it on Google you have found many articles for capturing the screen shots.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
ok thanku i have done
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|