|
Place the gridview inside an update panel and that should resolve the issue.
Thanks
|
|
|
|
|
Hello,
I have a problem regarding XSD. I am trying to bind data in predefine xsd from predefine xml. And to upload that Product feed into Amazon. I have all ready uploaded my data to Amazon with the XML.But i am unable to upload with xsd so please help me that how can i do this.
|
|
|
|
|
|
Can't you pass the value as query string?
|
|
|
|
|
|
<cc1:Accordion ID="Accordion1" runat="server" SelectedIndex ="0" HeaderCssClass ="accordionHeader" ContentCssClass ="accordionContent" FadeTransitions ="true" FramesPerSecond ="40" TransitionDuration ="250" AutoSize ="None" >
<Panes >
<cc1:AccordionPane ID="AccordionPane4" runat="server">
<Header >
<a href ="" onclick ="return false;" class ="accordionlink" >AccordionPane1
</a>
</Header>
<Content >
<asp:Image ID="Image1" runat="server" src="image002.jpg" />
some words
</Content>
</cc1:AccordionPane>
<cc1:AccordionPane ID="AccordionPane3" runat="server">
<Header >
<a href ="" onclick ="return false;" class ="accordionlink" >AccordionPane2</a>
</Header>
<Content >
ha ha ha ha ha h
hahah
ah
ah
ah
ah
ah
ah
ah
</Content>
</cc1:AccordionPane>
</panes>
</ccp:Accordion>
this is the code so how to pass value from another page to this page, i wanna to change SelectedIndex ="0" to the passed value?????
al hajjaj
|
|
|
|
|
You can use QueryString.
QueryString is a <name=value> pair that you can pass in your URL.
eg. www.<url>.com/Default.aspx?var1=1
when you click the above link, it will open the Default.aspx page and you will a QueryString variable which you access and use it's value on Default.aspx page
On Default.aspx page_load event, do this,
dim xyz as string = Request.QueryString("var1")
this will put 1 in xyz on page load.
Hope this will solve your problem.
|
|
|
|
|
thanks VikashGohil for your help.
but this way won't work.
because i want to pass a value to HTML(but it's AJAX component) cod not VB.cod!
so how can i pass value to HTML property?
you it just like you send value for table size!!
can we use GET or something like that?
al hajjaj
|
|
|
|
|
please somebody help me..........
how can i pass value to Accordion (SelectedIndex property )??????
al hajjaj
|
|
|
|
|
VikashGohil
i am so sorry your answer is right.
i am fool cuz i didn't add this :
Accordion1.SelectedIndex = xyz
thank you so much , and forgive me ,i am beginner.
al hajjaj
|
|
|
|
|
|
So i wam going to setup a internet hot spot. I want to create an asp.net page that the users needs to fill out info to use the web. Can this be done use asp.net page?
Thanks
miek
|
|
|
|
|
Michael Ruotolo wrote: I want to create an asp.net page that the users needs to fill out info to use the web. Can this be done use asp.net page?
Your question is not clear. Do you want to restrict users accessing websites until they fill the form? If yes, ASP.NET is not the obvious tool for that.
|
|
|
|
|
I am going to setup a host spot. So i want to limit there access to the internet until they fill the form. Then they get access to the internet. Its like when you go into a starbucks and have to pay for internt. I am just not going to charge just want to collet some info.
I guess you could call it a captive portal. Another example is when you go to a hotel and use there wifi. You have accept the aggremment then you can surf the web.
Thanks
Mike
|
|
|
|
|
Well, As I said, ASP.NET is not the correct tool for that. There will be third party applications out there and it is better to use them rather than reinventing the wheel.
|
|
|
|
|
Hi.
Do we have Template Engines in ASP.NET like Smarty in PHP ?
Thanks
|
|
|
|
|
I'm not sure what you mean, but masterpages allow you to design a part of your page that stays constant, and define areas that change for each page.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
OK, let's explain more.
In PHP we can separate PHP code from HTML codes with a Template Engine.
With this ability we can change a website's template easily and without changing the PHP codes.
For example Smary[^] is a great PHP template engine.
We design HTML codes in some files and load them in PHP codes.
|
|
|
|
|
ASP.NET also has themes, but the HTML is already seperated from the code in ASP.NET, that's how it works. A well designed site, you should be able to restyle the ASPX files without having to touch the code behind.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
How can I capture a single or double click on the heaer over a column in an ASP.NET Gridview?
Thanks,
Mark
|
|
|
|
|
You can define a header template, which means you can put controls in there, and thus subscribe to their events.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
hi
i m using asp.net with c#
i have 10 pathology test name each contain few test id,name and price,now i wana select 1st path test in 1st path test select 2 testid out of 5.same as 3rd and 4th path test.and at last all selected test id(all 6 selected test id) with name and price show in a single table.
as
1stid name price
2ndid name price
3rdid name price
..........
..........
..........
pls help me
thanks in advance
|
|
|
|
|
This is hard to understand. You should perhaps post some sample data to make sure we understand you. Are you asking how the UI should look, asking about the SQL, or what ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hello,
I need to copy a file from client to server folder using vbscript.
the folder on the server should not be accessed, so i allow only the aspnet user to access it.
when i try to copy that file file.scriptingojectsystem.. it give me an error, when i add the Ressource account to the folder everything run correctly but i can access thqat folder from client.
how can i resolve this issue,
Any idea is appreciated?
or how can i impersonate the Network user account and not the netwrok service account in the config file.
regards.
dghdfghdfghdfghdgh
|
|
|
|
|
Which IIS version are you using ?
|
|
|
|